Skip to content

ha0min/loyalweb

Repository files navigation


Logo

Fanly

A web application for loyalty rewards

View Demo . Report Bug . Request Feature

Contributors Forks Issues License

loyaldemo.mp4

Table Of Contents

About The Project

Screen Shot

This project is the frontend part of a web application designed to manage a loyalty program. It includes two layouts for both user and admin. Features includes user authentication, reward history tracking, product listing, shopping cart management, and order processing, etc. You could find the backend code here: Loyalty Rewards Application.

Built With

The application is built using Next.js, SWR for data fetching, Mantine and Ant Design for UI components, and Jotai for state management.

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Deploy with Vercel

  1. Fork this repo and click the Deploy With Vercel button: Deploy with Vercel

  2. Set the environment variable API_URL in vercel for the backend server.

  3. You are all set to go!

Run on device

To get started with this project, clone the repository and install the dependencies:

git clone https://github.com/ha0min/loyalweb.git
cd your-repo-name
npm install

To run the application:

npm run dev

This will start the Next.js server, typically on http://localhost:3000.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License.

Authors