https://github.com/risingstack/almandite-user-service
Reference implementation of a user authentication service in GOlang!
https://github.com/risingstack/almandite-user-service
Last synced: about 1 month ago
JSON representation
Reference implementation of a user authentication service in GOlang!
- Host: GitHub
- URL: https://github.com/risingstack/almandite-user-service
- Owner: RisingStack
- License: bsd-3-clause
- Created: 2018-02-19T12:01:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-28T15:10:48.000Z (almost 8 years ago)
- Last Synced: 2024-04-17T01:49:40.225Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 3.41 MB
- Stars: 1
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Almandite user service
## Prerequisites
- Run `docker-compose up -d` to setup PostgreSQL database
- Make sure you have [dep tool](https://golang.github.io/dep/docs/installation.html) installed
- Create a `.env` file with the following environment variables
```
PG_URL=postgres://postgres:w7o4bvt8ncp0ksd@localhost:5432/almandite?sslmode=disable
DEBUG_SQL=true
```
## Startup
1. Install dependencies with `make deps`
2. Build the project with `make install`
3. Run the project with `almandite-user-server` command