Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 596 Bytes

File metadata and controls

53 lines (36 loc) · 596 Bytes

Server

First steps

  1. ./config.json
{
  "SQLDB": {
    "host": "localhost",
    "user": "user",
    "password": "password",
    "database": "database"
  },
  "JWT_SECRET": "secret",
  "BCRYPT_ROUNDS": 10,
  "files": {
    "avatarDir": "files/avatars/"
  }
}
  1. Swagger.js -> ProjectName and infos

# Contribute

## Commands:

- npm test -> runs mocha and eslint

# Credentials

## User

[email protected]
User123

## Admin

[email protected]
Admin123

# TODO

CSRF

CORS

ENV FRONTEND_URL: Default = http://localhost:80 Set the URL of your frontend -> Avoid CORS errors