A web application for loyalty rewards
View Demo
.
Report Bug
.
Request Feature
loyaldemo.mp4
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.
The application is built using Next.js, SWR for data fetching, Mantine and Ant Design for UI components, and Jotai for state management.
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.
-
Set the environment variable
API_URL
in vercel for the backend server. -
You are all set to go!
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.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License.
- Haomin - Haomin