This project is a task manager built using Fastify and Pug.
Clone the repository and install dependencies:
git clone git@github.com:SvetlanaZinovkina/fullstack-javascript-project-6.git
cd <project-folder>
npm install
Create a .env
file based on .env.example
:
cp .env.example .env
Update the .env
file with your configuration.
Start the backend (API):
npm run start-backend
This will start the Fastify server:
fastify start server/plugin.js -l debug -P -o -a 0.0.0.0
In another terminal, start the frontend (Webpack):
npm run start-frontend
This will run Webpack in watch mode:
npx webpack --watch --progress
To run the application in production mode:
npm start
This will start the Fastify server in production mode.
To run tests:
npm test
Lint your code:
npm run lint
The application is deployed at https://taskmanagerz.onrender.com
- Fastify
- Pug
- Webpack
- Jest