Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scale-tone/namo
https://github.com/scale-tone/namo
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/scale-tone/namo
- Owner: scale-tone
- License: mit
- Created: 2022-11-27T15:09:40.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-28T12:38:07.000Z (about 2 years ago)
- Last Synced: 2024-10-31T05:11:47.660Z (2 months ago)
- Language: TypeScript
- Size: 154 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ReactTsBasic
A GitHub template for quickly bootstrapping an [Azure Static Web App](https://docs.microsoft.com/en-us/azure/static-web-apps/) project with React and TypeScript.
Similar to [the official one](https://github.com/staticwebdev/react-basic), but uses TypeScript instead. Also has a pre-initialized [Azure Functions project](https://docs.microsoft.com/en-us/azure/static-web-apps/add-api) in the /api folder, written in TypeScript as well.
## How to run
```
npm install
npm run start-with-backend
```The latter command also compiles and starts the /api project under the local 'http://localhost:7071/api' URL.
## How to deploy to Azure
Exactly as described [here](https://docs.microsoft.com/en-us/azure/static-web-apps/getting-started?tabs=react#create-a-static-web-app).
## Important
Exclude [env.development.local](https://github.com/scale-tone/react-ts-basic/blob/master/.env.development.local) and [local.settings.json](https://github.com/scale-tone/react-ts-basic/blob/master/api/local.settings.json) once ready.