https://github.com/code100x/daily-code
https://github.com/code100x/daily-code
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/code100x/daily-code
- Owner: code100x
- License: mit
- Created: 2024-01-18T22:35:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-10T17:54:45.000Z (about 1 year ago)
- Last Synced: 2025-05-11T10:52:54.134Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://projects.100xdevs.com/
- Size: 3.05 MB
- Stars: 901
- Watchers: 21
- Forks: 1,078
- Open Issues: 104
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quick Setup Locally
## Option 1: Using Docker
```bash
docker compose watch
```
## Option 2: Manual Setup
### 1. Install Dependencies
```bash
cd daily-code
yarn install
```
### 2. Setup Database
#### For Mac and Linux users
```bash
cd packages/db
chmod +x ./setupDB.sh
./setupDB.sh
```
#### For Windows users
```bash
cd packages/db
copy .env.example .env
docker-compose up
# Configure the database connection
# Add your connection string to DATABASE_URL
yarn prisma migrate dev
yarn prisma db seed
```
### 3. Run Locally
```bash
cd ../..
yarn run dev
```