This is the backend application of the Cafe store app. I have add few steps to compile and run the application locally and using Docker.
- Node JS
- Express
- TypeScript
- MySQL
- Sequelize
- AWS RDS
- AWS S3
- Node JS - 18.13.0
- NPM - 8.19.3
- Clone the GitHub repository to your computer using this link
- Once cloned, run the following command to install the dependencies
npm install
- After all the dependencies are installed, run the following command to start the application on Dev mode
npm run start:dev
- Finally, the application will run on port 8088. Access the application via this link. If the port number is already used in your machine, change the port number to a different one.
- Make sure Docker is installed to your computer
- Clone the GitHub repository to your computer using this link
- Run the following command to build the Docker image
docker build -t cafe-backend-app:v1.0.0 .
- Once the Docker image is built, run the following command to start the aplication via Docker container
docker run --name cafe-backend -p 8088:8088 cafe-backend-app:v1.0.0
- Finally, the application will run on port 3000. Access the application via this link