This is a project that I developed based in the course "NWL 1.0" made by RocketSeat. The website has the purpose to help the users to find and/or to register collection points near them.
I used this project as an opportunity to implement more technologies and try to improve it with more funcionalities, such as:
- Use Google Maps API to allow the user to mark the location of the collection point when it's being registered, and show on the map all the collection points according to a determined city location
- Use the Battuta API to determine the location of a collection point, by selecting specific the country, region and city where it can be found
- Use SASS to write the CSS code and organize it
- Node.js(Express) - Backend
- Nunjucks, SASS, HTML - Frontend
- SQLite - Database
To run this project, download it to your computer or use the git command git clone
.
- Open the folder ecoleta/frontend
- Get a key of Google Maps API
- Open the file
src/pages/partials/scripts-map.html
and change in the linkKEY
by your Google Maps API key
- Open the folder ecoleta/backend in your system's shell
- Run
$ npm install
to install the modules of this Node.js project - Get a key at the website http://battuta.medunes.net/, to be able to use the Battuta API
- Rename the file
.env.example
to.env
, open the file and add the Battua key to the environment variableBATTUTA_KEY
- Run
$ npm start
to start the backend server
Released in 2020 📕 License
This project is under the MIT license.
Give a ⭐️ if this project helped you!
</> by Marco Echevestre