♻️ A full stack application developed at Next Level Week promoted by Rocketseat
Ecoleta is a fictitious company and this repository belong to the business logic and is the basis of a general structure.
First get all the requirements installed on your system.
Make a clone from the repo and install the dependencies
# After clone this repo, enter in the API folder
$ cd backend
# Install all dependencies using Yarn
$ yarn
# Run the migrations and seeds
$ yarn knex:migrate && yarn knex:seed
# Run the development server
$ yarn dev
# Case the output appears like this, is all ok
yarn run v1.21.1
$ ts-node-dev src/server.ts
# The backend will run on port 3333
# https://localhost:3333
# After clone this repo, enter in the Web folder
$ cd web
# Install all dependencies using Yarn
$ yarn
# Run the project
$ yarn start
# IMPORTANT!!!
# Certify yourself that the backend is running on http://localhost:3333
# After clone this repo, enter in the folder
$ cd mobile
# Install all dependencies using Yarn
$ yarn
# Run using Expo
$ yarn start
# Scan using your device and certify that you are using
# the correct Base URL in the src/services/api.ts file
MIT License.
See LICENSE for details.