Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
/ grate-api Public archive

[Work in progress] Server side of the gRate social network

License

Notifications You must be signed in to change notification settings

ardier16/grate-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRate API

GitHub repo size David GitHub commit activity

The server side of the gRate social network

How to run

Clone the repository

Using SSH: git clone git@github.com:ardier16/grate-api.git

or

Using HTTPS: git clone https://github.com/ardier16/grate-api.git

Prepare the environment

Install MongoDB

Install Yarn

Run npm install -g yarn

Install all the dependencies

Go to the project folder and run yarn or yarn install

Create the configuration file

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,
}

Start the project

Run yarn start

About

[Work in progress] Server side of the gRate social network

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published