This project was generated with ❤.
-
Clone repository -
$ git clonehttps://github.com/TijanAyo/simple-sm-platform.git
-
Install dependencies -
$ cd simple-sm-platform
-
Install dependencies -
$ npm install
-
Create a new file
.env
if it doesn't exist and copy the contents of.env.example
into it to be able to run your server on production environment.
# development
$ npm run start
# watch mode
# Server should be running on http://localhost:4000/ by default
$ npm run start:dev
# production mode
$ npm run start:prod
# Make sure you have mysql or postgresql installed, you could use any database of your choice
# Initialize Prisma
$ npx prisma init
# Connect to your db by providing the appropriate credentials, check .env.example for a similar example
# Migrate the Database
$ prisma migrate dev --name init
# Start up prisma studio
$ npx prisma studio
-
Via Postman Collection (https://documenter.getpostman.com/view/19118409/2s8ZDR7kpJ)
-
Via Swagger, viewing the api locally (http://localhost:4000/api-doc)