ExpressJs + Typescript + Webpack Starter
A delightful and safety way to building a ExpressJs RESTfull API with beautiful code written in Typescript.
Table of contents
Requirements
To build and run this app locally you will need a few things:
- Install Node.js
- Install VS Code
- (optional) Install Prettier - Code formatter
- (optional) Install DotENV
- (optional) Install ESLint
Getting Started
- Clone the repository
git clone https://github.com/idamachmadfaizin/ExpressTs.git <project_name>
- Move to project directory
cd <project_name>
- Install dependencies
npm install
# --- or ---
yarn install
# --- or ---
pnpm install
- Configure your env
cp .env.example .env
# Then configure the .env file or you can leave it default.
- Run the project
npm start
# --- or ---
yarn start
# --- or ---
pnpm start
Finally, navigate to http://localhost:3000 and you should see the template being served and rendered locally!
Contributing
The ExpressTs repo welcomes all constructive contributions.
Authors
- Idam Achmad Faizin - Initial work