https://github.com/nesimtunc/fly-io-nodejs-typescript
A sample NodeJS application that written in TypeScript and ready to deploy to fly.io
https://github.com/nesimtunc/fly-io-nodejs-typescript
axios backend fly-io javascript nodejs restful-api typescript
Last synced: 3 months ago
JSON representation
A sample NodeJS application that written in TypeScript and ready to deploy to fly.io
- Host: GitHub
- URL: https://github.com/nesimtunc/fly-io-nodejs-typescript
- Owner: nesimtunc
- License: mit
- Created: 2022-02-26T07:13:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-01T04:42:13.000Z (over 2 years ago)
- Last Synced: 2025-04-03T20:35:50.411Z (about 1 year ago)
- Topics: axios, backend, fly-io, javascript, nodejs, restful-api, typescript
- Language: TypeScript
- Homepage:
- Size: 221 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fly-io-nodejs-typescript
A sample NodeJS application that written in TypeScript and ready to deploy to fly.io
It comes with;
- [Axios](https://axios-http.com/?ref=github.com/nesimtunc/fly-io-nodejs-typescript)
- [PlaceHolder API for Todos](https://jsonplaceholder.typicode.com/)
Don't forget to setup `API_BASE_URL` in environment (for local) and as a secret on [fly.io](https://fly.io/?ref=github.com/nesimtunc/fly-io-nodejs-typescript) for production. Well, if you forget to set it, the app will tell you in the logs, and exit the process.
Check out the scripts in [package.json](package.json)
## How to deploy to fly.io
After creating an account on [fly.io](https://fly.io/?ref=github.com/nesimtunc/fly-io-nodejs-typescript) and install the [fly CLI tool](https://fly.io/docs/getting-started/installing-flyctl/?ref=github.com/nesimtunc/fly-io-nodejs-typescript)
`fly launch` for the first time
`fly deploy` for a new release
For more checkout the documentations [https://fly.io/docs](https://fly.io/docs/?ref=github.com/nesimtunc/fly-io-nodejs-typescript)
## ToDo
- [X] Add some unit tests