https://github.com/thecodearcher/todo-api
https://github.com/thecodearcher/todo-api
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thecodearcher/todo-api
- Owner: thecodearcher
- Created: 2019-07-31T13:27:44.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T00:18:26.000Z (over 3 years ago)
- Last Synced: 2024-04-15T10:02:37.763Z (about 2 years ago)
- Language: TypeScript
- Size: 405 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Todo-api
## Quick Start
Get started developing...
```shell
# install deps
npm install
# run in development mode
npm run watch
```
---
## Install Dependencies
Install all package dependencies (one time operation)
```shell
npm install
```
## Run It
#### Run in *development* mode:
Runs the application is development mode. Should not be used in production
```shell
npm run watch
```
#### Run in *production* mode:
Compiles the application and starts it in production mode.
```shell
npm run compile
npm start
```
## Try It
* Open you're browser to [http://localhost:3000](http://localhost:3000)
* Invoke the `/` endpoint
```shell
curl http://localhost:3000/
```
#### Debug with VSCode
Add these [contents](https://github.com/thecodearcher/node-typescript/blob/master/.vscode/launch.json) to your `.vscode/launch.json` file