This README file provides an overview of the Polytrade "Basic Social Media Application" assignment based on NestJS with instructions on how to set up and use the application
This system will support basic functionalities such as registering users, creating posts, adding friends, and liking posts.
- Node.js and npm are installed.
- NestJS is installed.
- Git is installed.
- Docker and Docker compose is installed.
$ git clone git@github.com:Mutaz-Dev/polytrade.git .
$ npm install
DB_NAME =
DB_USERNAME =
DB_PASSWORD =
DB_HOST =
DB_PORT =
DB_TIMEOUT =
SALT_ROUNDS =
JWT_TOKEN_SECRET =
JWT_EXPIRATION =
SERVER_PORT =
$ docker build -t <name-of-the-app> .
$ docker run -p <local-port>:<container-port> <name-of-the-app>
-
$ npm run start
For development and debuging purposes:
$ npm run start:dev