Skip to content

System I use to make a checklist of all my daily processes, solving organizational problems and much more.

License

Notifications You must be signed in to change notification settings

hebertzin/Syncro-Backend

Repository files navigation

Syncro-Backend

Overview

Syncro is a task management application that combines simplicity and efficiency. With an intuitive interface, it allows users to easily create, organize and monitor tasks. Through personalized filters and detailed reports, Syncro provides a clear view of progress, helping teams and individuals stay focused and productive. Ideal for those looking for a practical and collaborative solution, Syncro transforms the way we manage our daily activities.

Techs

  • Node js
  • Typescript
  • Docker
  • Express
  • Git
  • Github actions
  • Husky
  • Prettier
  • Eslint
  • Zod
  • Postgres
  • Jest
  • Supertest
  • Render*
  • Railway

Features

  • It is possible to create an activity
  • Is it possible to delete an activity
  • Is it possible to update an activity
  • Is it possible to retrieve a list of activities
  • Is it possible to recover an activityall files
  • A user is able to authenticate to the system by generating a token

Endpoints

  • POST /api/v1/authentication/user: Auth a user
  • POST /api/v1//user: Create a user
  • POST /api/v1/activity/ : Create an activity
  • GET /api/v1/activity/:id: Returns data from an activity
  • GET /api/v1/activity/:userId/all : Returns all activities from a user
  • DELETE /api/v1/activity/:id : Deletes an activity

How to run this project

  • Make sure you have the node, docker installed

  • Clone this repository git clone https://github.com/hebertsanto/Alvadorn-Backend.git

  • Navigate to the project and run the following command npm install

  • Create a .env file and create environment variables.

  • See how to define the variables in the .env.exemple file

  • Then just run the server with the following command: npm run start:dev

Run with docker

  • In the json package I created a script to run docker, all you need to do is run the command npm run docker:build
  • After that, the application image will be created.

Running tests

  • You can run integration tests with this script npm run tests:e2e

Pipilines/Github Actions

  • Lint

    In this pipeline I implemented code lint to maintain the quality and organization of the code

  • Build

    In this pipeline the code is transpiled to JavaScript and the project image is created

About

System I use to make a checklist of all my daily processes, solving organizational problems and much more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages