parkwella

command module
v0.0.0-...-75cb93a Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: BSD-2-Clause Imports: 4 Imported by: 0

README

parkwella

Api Specifications

Register a user after a valid POST request at /register. Login user after a valid POST request at /login. Create a park after a valid POST request at /api/parks. Get parks after a valid GET request at /api/parks. Edit a park after a valid PUT request at /api/parks/id. Delete a park after a valid DELETE request at /api/parks/id. Get a park after a valid GET request at /api/parks/id

Dependencies

badoux/checkmail - for validating user emails. dgrijalva/jwt-go - to sign and verify jwt tokens. gorilla/mux - it is a router and dispatcher, for matching URLs to their handlers. jinzhu/gorm - its an ORM(Object Relational Mapper) will enable us interact with the database. joho/godotenv - to load .env file, which holds our secrets. e.g database passwords. crypto - to hash and verify user passwords.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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