You can try our application at: https://restaurant.duongphan.com/
This repository contains two sub-repositories for a coffee shop project.
This sub-repository contains the frontend code for the pricing module.
Frontend Tech Stack:
- ReactJS
- Redux
To run the frontend, follow these steps:
- Make sure your machine has npm installed.
- Run
npm install
to install the required packages. - Create a
.env
file, following the structure of the.env.example
file, to load the environment variables required for the application. - Run
npm start
to start the ReactJS application. It will be accessible on PORT 3000.
This sub-repository contains the backend code for the pricing module.
Backend Tech Stack:
- Node.js
- MongoDB
-
You can use my setup backend expose API by setting
.env
in the frontend folderREACT_APP_BACKEND_URL=https://restaurant.duongphan.com/api
. This way, you can use my backend provided API directly and do not need to set up the backend on your local machine. -
To run the backend on your local machine:
- Run
npm install
to install the required packages. - Create a
.env
file, following the structure of the.env.example
file, to load the environment variables required for the application. - Change the value of
DB_NAME
in the.env
file to use your own testing database name. - Run
nodemon start
to start the Node.js application. It will be accessible on PORT 8005.
- Run