Skip to content

Latest commit

 

History

History
72 lines (60 loc) · 2.41 KB

README.md

File metadata and controls

72 lines (60 loc) · 2.41 KB

car question
WhichCar - Backend

This is a backend of the WhichCar mobile app.

The server is host on Heroku and save images on the Amazon S3 to send link to Algorithmia API and get informations of the car.

License MIT


Features

This app features all the latest tools and practices in development!

  • Node.js — Node.js is an open-source, cross-platform, JavaScript runtime environment.
  • Express — Fast, unopinionated, minimalist web framework for Node.js
  • Multer — Node.js middleware for handling 'multipart/form-data'.
  • Algorithmia — Algorithmia makes applications smarter, by building a community around algorithm development.
  • Amazon S3 — Store data in the cloud and learn key bucket and object concepts with the Amazon S3 web service.

Getting started

  1. Clone this repository:
git clone https://github.com/iannsantos/which-car-backend
  1. Open the project folder in terminal (or CMD on Windows) and run some command below:

With Yarn:

yarn

With NPM:

npm install
  1. Open the code in your favorite editor (I recommend VSCode).
  2. Copy the .env.example to .env and insert your keys.
  3. If you already have Docker Compose, run:
docker-compose up
  1. If you don't have Docker Compose, run:

With Yarn:

yarn dev

With NPM:

npm run dev
  1. Now, you are ready!

Endpoints

This server provide just 2 endpoints

GET <URL>/ => Server status
POST <URL>/car => Send image and show informations of the car.

Test endpoints in Insomnia

Run in Insomnia}

License

This project is licensed under the MIT License - see the LICENSE page for details.