Project that provides the API to be used in squadsz client
- ✔️ Node
- ✔️ PostgreSQL
- ✔️ Docker
- ✔️ Docker compose
You need to have 3 plugins installed in your text editor to keep a pattern in the project: ESLint, Prettier and EditorConfig.
These plugins are already configured in the project in the prettier.config.js, .eslintrc.json and editorconfig files.
If you want to set the environment variables, create a .env file based on the .env.example template
To modify (locally) this project, you will need Node, GIT and docker-compose installed on your computer.
With these tools in hand, follow the steps below
# Clone this repository
$ git clone https://github.com/IgorSantoss/squadsz
# Go to the repository cloned
$ cd squadsz
# Install dependencies
$ make install
# Start server
$ make upDone! Now you have this application in your computer.
# Install dependencies
$ make install
# Build image
$ make build
# Up and start docker container
$ make up
# Stop and remove docker container
$ make down
# Start docker container (already created)
$ make start
# Stop docker container (already created)
$ make stop
# Restart docker
$ make restart
# See logs
$ make logs
# Compile scss files in real time
$ make devTo contributing to this project, follow the steps bellow.
- Fork the Project;
- Create your Feature Branch (
git checkout -b new-branch) - Commit your Changes (
git commit -m 'DESCRIPTION OF CHANGES') - Push to the Branch (
git push origin new-branch) - Open a Pull Request
This project is under the MIT license. See the LICENSE file for more details.
Made with ❤️ by Vitor Martins ✌