This is the repository for the LCComputerScience project. This project is a platform for students to learn computer science and programming. It provides a set of courses, exercises, and projects to help students learn and practice their programming skills for the Leaving Certificate Computer Science course.
- Requirements:
- Make sure to have a database running. If you don't have one, we provide a script to start the database with docker under the
/scriptsfolder. Make sure that after database is created, you run the migrations withnpm run db:pushorbun run db:push. - Make sure you have a
.envfile with the correct fields from the.env.examplefile. - Create a stripe account and get the keys to fill the
.envfile.
- Make sure to have a database running. If you don't have one, we provide a script to start the database with docker under the
- Run
npm iorbun ito install the dependencies. - Run
npm run devorbun run devto start the project in development mode. - Run
stripe listen --forward-to localhost:3000/api/webhooksto listen to stripe events.
- Run
npm run buildorbun run buildto build the project.
