NodeJS, ExpressJS, PostgreSQL, Sequelize, Heroku, Docker, Travis, CodeCov.
The complete project involved the end-to-end development of a social media mobile app with android support. The app is made up of three main parts:
- A server (Application Server), responsible for connecting the users. It can be found here
- A server (Shared Server), responsible for administrating the application servers, user authentication, and files handling. It can be found here
- An Android client to be used by the final users. It can be found here
My personal involvement in the project was on the Android Client and the Shared Server.
$ npm run coverage
In order to run the server locally via Docker, you need to install both docker and docker-compose.
Once you have both of them, you can get the server running by opening a console in the project directory and running the following commands:
$ ./docker-run.sh
Now it will start listening on localhost:3000. You can stop it anytime with CTRL+C. You need to leave this terminal open.
Then open a new terminal on the same directory and run:
$ ./database.sh
Now the tables from the database are up and running and you can continue working on localhost:3000.
NOTES:
To run this Shell script, you will need to give it execution permission with the command:
$ chmod +x docker-run.sh
$ chmod +x database.sh
Also, it runs 'sudo' commands so you will be asked for super user password.
Heroku is integrated automatically via GitHub.
You can see the interface of this Application Server here.
NOTES
$ heroku run sequelize db:migrate
$ heroku run sequelize db:migrate:undo
$ npm run uTest