A platform to change the way we sell things on the internet
This repository uses the yarn
package manager.
yarn install
To install the required dependencies
yarn dev
To run the app in a dev environment. By default, it runs on the PORT 3000
.
yarn build
To create an optimized production build in the dist directory.
- This project is coded using
Typescript
for type safe and scalable programming. - The code in written in
express
inNodeJS
since it's more scalable as compared to Django or other frameworks. - Uses
yarn
as the package manager. - Uses
JWT
for authentication as it's the industry standard MongoDB
is being used as a persistant databasemongoose
is being used to connect to MongoDB due to it's popularity, community and scalability.
All the code for the project is in the src
folder.
The folder is divided into:
- Models
Contains the mongoose models, or schemas that are used throughout the code - Controllers
All the actual logic of each route is handled here - Routes
Defines all the routes which would be hit by the frontend
The authentication follows the industry standard JWT Authentication.