A complete API for a moving furniture delivery application, encompassing user registration and authentication, order management, real-time delivery status and payment processing.
- To clone this project with command line you must have Git installed on your machine. On your terminal run:
git clone https://github.com/amazonsoft-tech/regg-backend.git
- Access the root folder:
cd regg-backend
- You must have Yarn or NPM installed so you can install the dependencies that this project demands. In the root directory, run:
yarn
in case you have NPM instead, just run:
npm install
-
Duplicate the file
.env.example
and rename one of them to.env
-
Add the environment variables in the newly created
.env
file
DATABASE_URL =
SECRET =
- Generate prisma schema with:
npx prisma generate
- Sync the database with the prisma schema with:
npx prisma db push
- To run this API, run one of the following commands below:
yarn dev
or
npm run dev
- Typescript โ Javascript superset, adding static typing and other features
- NodeJS โ Javascript execution environment outside the browser
- ExpressJs โ Framework for NodeJs web applications
- Prisma ORM โ ORM that makes working with databases easy for application developers and features
- MongoDB โ Open source NoSQL database management program
- And more...