Awesome Open Source
Awesome Open Source

GoEat

Rest API for Food Delivery Businesses, providing fast and clean service for providers and users.

Author Languages Stars Forks Contributors

📌 Table of Contents

🚀 Features

  • 🍽 Schedule appointments in restaurants
  • 🛵 Request food orders
  • 👩‍💼 Manage restaurants
  • 📁 Files upload
  • 👩🏻‍💻 Provider and user interface

👷 Installation

You need to install Node.js and Yarn first, then in order to clone the project via HTTPS, run this command:

git clone https://github.com/LauraBeatris/goeat-api.git

SSH URLs provide access to a Git repository via SSH, a secure protocol. If you use a SSH key registered in your Github account, clone the project using this command:

git clone [email protected]:LauraBeatris/goeat-api.git

Install dependencies

yarn install

Create your enviroment variables based on the examples of .env.example

cp .env.example .env

After copying the examples, make sure to fill the variables with new values.

Setup a database

Install Postgres to create a database or if you have Docker in your machine, fill the environment values related to database configurations and then run the following commands in order to create a postgres container.

docker-compose up

Check if the containers are running

docker ps

🏃 Getting Started

Run the transactions in order to configure all the database schemas

npx sequelize-cli db:migrate

Run the following command in order to start the application in a development environment:

yarn dev

Run the following command to run the queue responsable for the mail job

yarn queue-dev

Run in production

Run the following command in order to start the application in a production environment:

yarn start

Run the following command to run the queue responsable for the mail job

yarn queue

📮 Faq

Question: What are the tecnologies used in this project?

Answer: The tecnologies used in this project are NodeJS + Express Framework to handle the server and Sequelize

Status Codes

Goeat returns the following status codes in its API:

Status Code Description
200 OK
422 UNPROCESSABLE ENTITY
400 BAD REQUEST
404 NOT FOUND
500 INTERNAL SERVER ERROR

🐛 Issues

Feel free to file a new issue with a respective title and description on the the GoEat API repository. If you already found a solution to your problem, i would love to review your pull request! Have a look at our contribution guidelines to find out about the coding standards.

ğŸŽ‰ Contributing

Check out the contributing page to see the best places to file issues, start discussions and begin contributing.

📕 License

Released in 2020. This project is under the MIT license.

Made with love by Laura Beatris 💜🚀


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (68,032) 
nodejs (3,632) 
mongodb (772) 
postgresql (699) 
express (472) 
backend (207) 
mailgun (22) 
nodemailer (15) 

Find Open Source By Browsing 7,000 Topics Across 59 Categories

Advertising 📦 10
All Projects
Application Programming Interfaces 📦 124
Applications 📦 192
Artificial Intelligence 📦 78
Blockchain 📦 73
Build Tools 📦 113
Cloud Computing 📦 80
Code Quality 📦 28
Collaboration 📦 32
Command Line Interface 📦 49
Community 📦 83
Companies 📦 60
Compilers 📦 63
Computer Science 📦 80
Configuration Management 📦 42
Content Management 📦 175
Control Flow 📦 213
Data Formats 📦 78
Data Processing 📦 276
Data Storage 📦 135
Economics 📦 64
Frameworks 📦 215
Games 📦 129
Graphics 📦 110
Hardware 📦 152
Integrated Development Environments 📦 49
Learning Resources 📦 166
Legal 📦 29
Libraries 📦 129
Lists Of Projects 📦 22
Machine Learning 📦 347
Mapping 📦 64
Marketing 📦 15
Mathematics 📦 55
Media 📦 239
Messaging 📦 98
Networking 📦 315
Operating Systems 📦 89
Operations 📦 121
Package Managers 📦 55
Programming Languages 📦 245
Runtime Environments 📦 100
Science 📦 42
Security 📦 396
Social Media 📦 27
Software Architecture 📦 72
Software Development 📦 72
Software Performance 📦 58
Software Quality 📦 133
Text Editors 📦 49
Text Processing 📦 136
User Interface 📦 330
User Interface Components 📦 514
Version Control 📦 30
Virtualization 📦 71
Web Browsers 📦 42
Web Servers 📦 26
Web User Interface 📦 210