Skip to content

Repository files navigation

CyCure - Cyber Security Quiz Site

Quick Setup

1. Start Database

docker-compose up -d

2. Setup Server Environment

cd server
cp .env.example .env
npm install
npm start

3. Setup Client

cd client
npm install
npm run dev

Environment Setup

The server requires a .env file for database connection. Copy .env.example to .env:

cp .env.example .env

Important: Never commit .env files to version control for security reasons.

Troubleshooting

Database Connection Issues

  • Ensure .env file exists in server directory
  • Check that MySQL container is running: docker-compose ps
  • Reset database: docker-compose down -v && docker-compose up -d

Port Already in Use

  • Kill existing processes or use different ports
  • Server: Change PORT in .env
  • Client: Vite will automatically find available port

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages