This is a simple MERN (MongoDB, Express.js, React.js, and Node.js) stack application for managing contests.
- View a list of contests
- View a specific contest
- Create a new contest
- Propose a new contest
To run this application locally, follow these steps:
- Clone the repository:
git clone https://github.com/luriel-xyz/contests-app-mern.git
- Install the dependencies:
cd contests-app-mern
npm install
-
Copy and rename the .env.example file as .env, and proceed to update the variable values within the .env file. The database name must be contest.
-
Seed the database
npx ts-node src/dev/load-test-data.ts
- Start the express server:
npm run dev:server
- Start the React development server:
npm run dev:bundler
- Navigate to
http://localhost:3000
to access the application.