- Make sure you have Node.js recommended version (18.12-18.15) installed.
- Clone the repository:
git clone
. - Install the recommended VSCode Extensions.
- Disable the @builtin Typescript Language server.
npm install
.- Prisma
- Follow this guide to install MySQL server locally on your machine. After that, create a database using the MySQL command-line client.
- To setup prisma you need to create an
.env
file in the root directory of the project. - Insert a new line in the file
DATABASE_URL="mysql://root:YOURPASSWORD@localhost:3306/YOURDATABASE?schema=public"
. Instead of YOURPASSWORD include the password created during MySQL install and instead of YOURDATABASE include the database created in step 1. npx prisma generate
Generates the typescript from the schema.npx prisma db push
Creates the tables in the database.npx prisma studio
Runs the Prisma GUI interface (Usually onhttp://localhost:5555
)
- Type
npm run dev
in the console. - Open the browser
localhost:3000/dev
.
Start the development server on http://localhost:3000
npm run dev
- Vue 3
- The frontend TS/JS framework which makes the webpage reactive.
- We are using the composition API, ensure the docs reflect this.
- Nuxt 3
- A meta-framework which creates universal applications, producing both the client-side and server-side code.
- Prisma
- The databse ORM.
- TypeScript
- A superset of JS which adds static type checking.
- Node
- The Javascript runtime environment that the server will be running on.
- npm
- A package manager for Javascript.
- vue-charjs
- ChartJS for Vue