TEN stack is a Typescript
+ Express
+ Node
starter kit to develop REST API
server apps.
Nothing new under the sun, just a straight forward combo to make server development a little bit faster. And of course, this make my freelancing days more enjoyable 😎
- Fork & Clone this repository.
- Install the dependencies with
yarn
ornpm
.
Make sure you already have
nodejs
,npm
oryarn
installed in your system.
- Set your
git remote origin
path
git remote add origin ${forked-and-cloned-path}
- Copy
.env.example
a file at the root of the application. - Add or modify specific variables and update it according to your need.
cp .env.example .env
Check the
config
folder to customize your settings (/src/config
)
Run the server locally. It will be run with Nodemon and ready to serve on port 8080
(unless you specify it on your .env
)
yarn start # or npm start
First, build the application.
yarn build # or npm run build
Then, use pm2
to start the application as a service.
yarn service:start # or npm run service:start
This repository will be managed as an open-source
.
Please feel free to open an issue
or a pull request
to suggest changes or additions.
If you have any question or suggestion, don't hesitate to contact me:
🎧 I was listening this playlist to boost my productivity!