Skip to content

A RESTFul API using GoLang for Online Food Ordering System

License

Notifications You must be signed in to change notification settings

navi25/GoColumbus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoColumbus

A RESTFul API using GoLang for Online Food Ordering System The project aims at Migrating https://github.com/navi25/RestaurantAPI from Python Based Framework to Go Based Framework

Development Goals

  • No change in terms of functionality from end user's perspective
  • Use of Buffalo framework for the development.
  • Using Redis for caching layer to improve performance of the REST API

Installation

Before we begin, kindly install following on your system:-

How to Run the App?

Everything should be ready. In your browser open http://127.0.0.1:4646/

REST Endpoints

There is currently only one major object in the app:-

  • Restaurants
  • Menu (To be added soon)
  • Food Items (Menu Items) (To be added soon)

The endpoints and the corresponding REST operations are defined as follows:-

  • RESTAURANTS
    • http://127.0.0.1:5000/api/v1.0/restaurants/
      • GET : This method on above URL returns all the restaurants available in the database in json format
      • POST : This method posts a new restaurant and accept application/JSON format for the operation with "name" as the only and the required parameter for the JSON.
      • Delete : This method deletes the given restaurant if the restaurant_id exists.

About

A RESTFul API using GoLang for Online Food Ordering System

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages