This repo is meant to be a mock implementation that demonstrates how to use TypeScript on an express server with Sequelize.
This has been a popular choice of technologies amonst my students and typing Sequelize has proved a bit of a challenge in some situations. I hope this repo acts as a guide for them and other programmers.
This implementation is far from perfect, but I'm willing to work on it and make it more robust in time. Feel free to contribute to it by making a pull request or rising an issue if you think that some changes must be made.
Also, don't forget to star the project and fork it if it was useful to you.
You can fork the project and clone it locally to see how it works. Follow these steps to set it up:
- Fork the project and clone it in your system
- run
$ npm install
to install all the necessary dependencies - setup an SQL database of your choice. I have used PostgresQL for this example, but sequelize works fine with most relational databases
- Create a
.env
file using the variables specified in the.env.copy
- run the project using
$ npm start
Bernat Duran - Github - Linkedin
Feel free to contribute with pull requests or issues!