/teledash-frontend

Research and analysis software for Telegram (Frontend)

Primary LanguageTypeScript

Teledash Frontend

This project was bootstrapped with Create React App. It's based on this boilerplate (forked 08.01.2022)

Development

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits. You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode. See the section about running tests for more information.

Generate Typescript types from OpenAPI schema

npm run generate-api-types or
npx openapi-typescript http://localhost:8000/openapi.json --output src/types/api.ts

Deployment

npm run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes. The app is ready to be deployed!

Make sure to change the .env file and change REACT_APP_API_URL accordingly (e.g. to api.example.com:3000).

See deployment for more information on continuous deployment and hosting options.

Backend

See teledash repository for further information.