Robust and scalable e-commerce backend built with TypeScript, Node.js, Express, and MongoDB to power the online shopping experience. The backend is developed as a REST API, utilizing HTTP status codes for effective communication. User authentication is implemented using JSON Web Tokens (JWT) to ensure secure access to the platform.
- Building a REST API
- HTTP Status Codes
- User Authentication (JWT)
- Node.js & Express
- TypeScript
- MongoDB
- Docker
-
Prerequisites
- Download and install docker: https://docs.docker.com/engine/install/
- Clone this repo to your local machine
git clone https://github.com/Bdiaz10/Ecommerce.git
- Create .env file with your MongoDB URI
-
Navigate to file that containes docker file
cd server
-
Build docker
docker build -t <app_name> .
-
Run docker
docker run -p 3001:3001 <app_name>
Application will now be available on port 3001