The server side of the gRate social network
Using SSH: git clone git@github.com:ardier16/grate-api.git
or
Using HTTPS: git clone https://github.com/ardier16/grate-api.git
Install Node.js & npm
Install MongoDB
Run npm install -g yarn
Go to the project folder and run yarn
or yarn install
Go to /src
folder and create a file config.js
:
export default {
// Secret key for encrypting the tokens
secret: 'YOUR_SECRET_KEY',
// MongoDB connection string
dbConnectionString: 'mongodb://127.0.0.1:27017/grate_db',
// Default application port
port: 8080,
}
Run yarn start