/Ecoleta-Next-Level-Week

Rocketseat's Next Level Week tutorial

Primary LanguageTypeScript

Ecoleta-Next-Level-Week

Rocketseat's Next Level Week tutorial.

Getting Started

Prerequisites

nodejs
npm or yarn

Installing

Open a Terminal in backend and frontend folders and run:

Using npm

npm install

Using yarn

yarn install

Running localy

Back-End

To start the tables execute in the backend's folder:

npm run knex:migrate

or

yarn knex:migrate

To start the static items in the table run in the same folder:

npm run knex:migrate

or

yarn knex:migrate

Finally run:

npm run dev

or

yarn dev

Front-End

In the frontend's folder run:

npm start

or

yarn start

Built With

  • nodeJS - The web framework used
  • npm - Back-End package manager
  • yarn - Front-End package manager
  • cors - Cross-origin resource sharing
  • express - Routes framework
  • knex - Query builder
  • sqlite3 - SQLite3 bindings for Node.js
  • typescript - Enables the use of Typescript
  • react - Front-End framework
  • axios - HTTP client for the browser and node.js
  • leaflet - Library for interactive maps