https://github.com/hvish/auth-service
Auth micro-service with OAuth 2.0 architecture
https://github.com/hvish/auth-service
Last synced: 11 months ago
JSON representation
Auth micro-service with OAuth 2.0 architecture
- Host: GitHub
- URL: https://github.com/hvish/auth-service
- Owner: HVish
- License: mit
- Created: 2022-05-28T06:48:10.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T09:42:48.000Z (over 2 years ago)
- Last Synced: 2025-05-29T21:42:22.188Z (about 1 year ago)
- Language: TypeScript
- Size: 890 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Auth service (WIP)
A reusable auth micro-service for authentication as well as authorization, partially based on OAuth2.0 and OpenID connect.
## Screenshots
### Login page

### Dashboard (wip)

## Local setup
Copy `.env.example` to `.env` and update corresponding environment variable values. Then run following commands in project root directory.
```sh
docker compose build
docker compose up
```
Visit [http://localhost:3000](http://localhost:3000) in your browser to login to dashboard.
## Seeding data
Run following commands:
```sh
docker compose up
docker exec auth-service-app-1 node scripts/seed
```
After running this command you can use these credentials to login to dashboard:
**username:** vishnu@auth-service.com
**password:** 1234567890