The best way to connect with PeruΓbe !
PeruibeTec is an app for the city of Peruibe in the state of SΓ£o Paulo, Brazil. The goal is to make the city more technological and integrated, helping the viability and traffic of information in the city, at PeruibeTec you really connect with PeruΓbe, whether you are a resident or a tourist.
Tourists enjoy a usability specifically prepared for tourists
While the residents stay on top of everything that is happening in PeruΓbe
The main technologies used in this API are:
- Node.js
- TypeScript
- Adonis
- JWT-token
- uuid-v4
- PostgreSQL
- Japa
- SuperTest
- ESlint
- Prettier
- EditorConfig
- AWS
- Azure
- Node.js
- Yarn or NPM
- One instance of PostgreSQL
Fyi.: We recommend using the docker
Clone the project and access the folder
$ git clone https://github.com/PeruibeTec/Server-v2 && cd Server-v2
Follow the steps below
# Install the dependencies
$ yarn install
# Make a copy of '.env.example' to '.env'
# and set with YOUR environment variables.
$ cp .env.example .env
# Create the instance of PostgreSQL using docker
$ docker run --name peruibeTec-postgres -e POSTGRES_USER=docker \
-e POSTGRES_DB=peruibeTec -e POSTGRES_PASSWORD=docker \
-p 5432:5432 -d postgres
# Once the services are running, run the migrations
$ node ace migration:run
# Finally, run the api service in a development environment :)
$ yarn dev
# Well done, project is started!
Thank you for being interested in making this package better. We encourage everyone to help improve this project with new features, bug fixes or performance improvements. Take some time to read our contribution guide to make this process faster and easier.
To understand how to submit an issue, commit and create pull requests, check our Contribution Guidelines.
This project is licensed under the GPL 3.0 License - see the LICENSE file for details.