Check out the frontend repository for this project on Github: Todo Frontend
- Mysql Database Service
- Clone this repository to your local machine.
- Open the terminal in the repository directory.
- Install the packages:
npm install
- Create
.env
file in the root folder and copy paste the content of.env.sample
, and add necessary credentials. - To start project in development run
npm run dev
- To start project in production run
# To comiple ts
npm run tsc
# To run app using nodejs
npm run start
- Before commit run
# To beautify the code formatting
npm run lint
-
The project insures that the server only starts after database is connected and working properly.
-
Project uses typescript for es6 and type safety but in
package.json
andtsconfig.json
files"type"(package.json)
and"module"(tsconfig.json)
properties are set to "commonjs" so that project can use some packages that can only be used with"commonjs"
.
- Express for building APIs.
- CORS to allow multiple origins
- Dotenv to hide sensitive information.
- TypeScript for type safety.
- ts-node-dev for restarting server in development mode.
- Sequelize as an ORM for working with databases.
- Git for version control and collaborative development.
Contributions are welcome! If you have any improvements, or bug fixes, feel free to submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or feedback, please reach out to us using the following email addresses: