- Node.js
- Mongodb
- Run npm install
- Create database
- Copy .env.example as .env
- Set an
APP_SECRET
, DB_URI
and FIREBASE_API_KEY
at the .env file
To deploy you just need to make a commit to the master branch and the CI will deploy automatically
POST /auth/register
Creates a new account
POST /auth/login
Returns your access token
field |
required |
validations |
email |
yes |
email / unique |
password |
yes |
at least 6 chars |
POST /contacts
Creates a new contact
field |
required |
validations |
name |
yes |
string |
email |
no |
email |
phone |
no |
|
address |
no |
|