$ git clone https://github.com/splhead/fastfeet.git
To run this all project, you need have be the packages installed:
- For use this api you need have be installed PostgresSQL, I'm use Docker, but this is optional.
- If you don't want installing DOCKER, use convencional Postgres installation.
$ docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
$ docker start "CONTAINER DOCKER ID"
- For background jobs I'm using Redis with DOCKER.
- If you don't want installing DOCKER, use convencional installation of Redis.
$ docker run --name some-redis -d redis
$ docker start "CONTAINER DOCKER ID"
You need copy file .env.example to .env in backend folder and change values
$ cd backend
$ yarn
$ yarn sequelize db:create
$ yarn sequelize db:migrate
$ yarn sequelize db:seed:all
$ yarn dev
$ cd backend
$ yarn queue
yarn dev:debug
The backend needed.
The default user is admin@fastfeet.com and password 123456
Copy file .env.example to .env in frontend folder and change values
$ cd frontend
$ yarn
$ yarn start
ps: Only android version was tested in mobile. The backend needed.
$ cd mobile
$ yarn
$ yarn android
Feito com 💜 by Silas P Ladislau