Skip to content

A simple Todo List application built with Express.js, Prisma, Swagger, and MySQL2.

Notifications You must be signed in to change notification settings

stanislavstru/test-task-server-part

Repository files navigation

Todo List App

A simple Todo List application built with Express.js, Prisma, Swagger, and MySQL2.

Technologies Used

  • Express.js - Backend framework
  • Prisma - ORM for database management
  • Swagger - API documentation
  • MySQL2 - MySQL client for Node.js

Installation and Setup

Follow these steps to set up and run the application:

  1. Clone the repository

    git clone https://github.com/stanislavstru/test-task-server-part.git ./
  2. Install Dependencies

    Run the following command to install all necessary dependencies:

    npm install
  3. Setup environment variables

    • Rename example.env to .env.
    • Update DATABASE_URL with your database connection string.
  4. Run database migrations

    npm run prisma:migrate:dev
  5. Build the project

    npm run build
  6. Start the server

    npm start
  7. Check if the server is running

API Documentation

This project uses Swagger for API documentation. Once the server is running, visit http://localhost:8000/swagger to explore available endpoints.

License

This project is licensed under the MIT License.

About

A simple Todo List application built with Express.js, Prisma, Swagger, and MySQL2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published