You can find it at https://github.com/orgs/multei/projects/1
We are working to follow Node.js Best Practices.
For more information about Node.js on Heroku, see Best Practices for Node.js Development.
We have our own Tech Radar
Make sure you have installed the following dependencies:
Install Knex CLI (and all the other dependencies);
npm install
Make sure you have created the Multei database on Postgres. To create, you can use psql to run:
psql -U postgres -h localhost -c "create database multei"
Run all migrations
knex migrate:latest
Run seed files
knex seed:run
.env
variablesMake sure you have created your own .env
file based on .env.example
with your credentials.
npm install && npm run develop:heroku
The port exposed by the API depends on the start command executed
3000
if you run npm start
or npm run debug
5000
if you run npm run develop:heroku
GCP_KEY_FILE
with a path to Google Cloud Platform key file;npm run deploy:heroku
This API uploads images to the Google Cloud storage service. To be able to upload, you need to have a service account on Google Cloud Storage with the adequate permissions.
So you need to:
config/
directory on the repository (create the directory if it does not exist);
Never commit this file!GOOGLE_APPLICATION_CREDENTIALS
to config/multei-{key}.json
, where multei-{key}.json
is the actual filename;Thanks goes to these wonderful people (emoji key):
Jimmy Andrade π π π π» π π‘ |
TΓΊlio Assis π» π π§ π |
hpsmatheus π€ |
__
This project follows the all-contributors specification. Contributions of any kind welcome!