ivents

command module
v0.0.0-...-4a825e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 4 Imported by: 0

README

ivents

ivents is a one stop center for all venues for all types events
Installation.

Should have Go and Postgres installed

Clone the repository.

git clone https://github.com/peterwade153/ivents.git
Environment variables

Create a database and create a .env from the .env-sample and replace its values with the actual values.

Running application

Change directory into ivents then

$ go run main.go

API endpoint can be accessed. Via http://localhost:5000/

Endpoints
Request Endpoints Functionality
POST /register User Signup ( firstname, lastname, email, password)
POST /login User Login ( email, password)
POST /api/venues Add Venue ( name, description, location, capacity, category)
GET /api/venues View Venues
GET /api/venues/id View Venue
PUT /api/venues/id Update Venue ( name, description, location, capacity, category)
DELETE /api/venues/id Delete Venue
Running tests
$ go test ./...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL