https://github.com/sferadev/prisma-coding-challenge
https://github.com/sferadev/prisma-coding-challenge
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sferadev/prisma-coding-challenge
- Owner: SferaDev
- Created: 2022-01-15T10:49:38.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-16T21:26:27.000Z (over 4 years ago)
- Last Synced: 2025-02-02T21:29:08.626Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://prisma-challenge.sferadev.com
- Size: 716 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prisma Coding Challenge
Author: Alexis Rico
## Environment variables
- `DATABASE_URL`: The database URL to connect to.
- `BASE_URL`: The base URL of the deployment
- `GITHUB_CLIENT_ID`: The GitHub client ID (for authentication)
- `GITHUB_CLIENT_SECRET`: The GitHub client secret (for authentication)
- `SESSION_STORAGE_SECRET`: The session storage secret (for cookie encryption)
## Local development
From your terminal:
```sh
yarn docker:up # OPTIONAL: Start a docker with an empty mysql database
yarn dev
```
## Integration Tests
From your terminal:
```sh
yarn docker:test:up
yarn test
```