https://github.com/philipptpunkt/authentication-service-go
Demo Authentication Service with a backend written in Go. It uses both Postgres and Redis. API Documentation with gRPC.
https://github.com/philipptpunkt/authentication-service-go
authentication authentication-backend go golang grpc grpc-go nextjs postgres postgresql postgresql-database protobuf redis turborepo typescript
Last synced: 2 months ago
JSON representation
Demo Authentication Service with a backend written in Go. It uses both Postgres and Redis. API Documentation with gRPC.
- Host: GitHub
- URL: https://github.com/philipptpunkt/authentication-service-go
- Owner: philipptpunkt
- Created: 2024-12-01T11:58:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-10T15:53:40.000Z (over 1 year ago)
- Last Synced: 2025-08-25T08:37:14.129Z (10 months ago)
- Topics: authentication, authentication-backend, go, golang, grpc, grpc-go, nextjs, postgres, postgresql, postgresql-database, protobuf, redis, turborepo, typescript
- Language: Go
- Homepage:
- Size: 260 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Authentication Service
This is a basic authentication service with register and login functionalities.
It is not intended to being used in production or any other data sensitive environment!
## Using the service
(for this to work you need a Postgres DB installed as well as an instance of Redis)
Make sure all environment variables are set correctly and point towards your local database services.
Then run the following command:
```sh
pnpm run dev
```
You can also use Docker Compose to run the entire service. Both Postgres and Redis are running inside Docker Containers.
```sh
docker-compose up --build
```
To stop the service, run
```sh
docker compose down
```
## What's inside?
This Turborepo includes the following packages/apps:
### Apps and Packages
- `backend`: a go backend
- `web`: a [Next.js](https://nextjs.org/) app with [Tailwind CSS](https://tailwindcss.com/)
- `ui`: a stub React component library with [Tailwind CSS](https://tailwindcss.com/)
- `@@authentication-service-go/eslint-config`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
- `@@authentication-service-go/tailwind-config`: `tailwind.config.ts`s used throughout the monorepo
- `@@authentication-service-go/typescript-config`: `tsconfig.json`s used throughout the monorepo
### Building packages/ui