frontend part for the ssr-editor program / DV1677 JSRamverk
https://jsramverk-lich23-bfgnhyfrgvhdbyf4.northeurope-01.azurewebsites.net/api
https://vinkeln.github.io/ssr-editor-frontend/
- Clone the github repository.
Command:
git clone <repository-url>
- cd ssr-editor-frontend/frontend
-
Install all dependencies. Command:
npm installornpm install --force -
Start the application. Command:
npm run dev -
Run all tests. Command:
npm run test -
Run ESLint. Command:
npm run lint
- React: UI-library
- TypeScript: Programming language (TSX)
- Vite: Building tool
- Apollo Client: GraphQL client (instead of REST API)
- React Router: Routing
- Vitest: Testing framework
- Draft.js: Texteditor
- Create an ".env" file i the root folder to add enviornement variables.
- ATLAS_USERNAME="????"
- ATLAS_PASSWORD="????"
- REACT_APP_BACKEND_URL=http://localhost:????/api/auth
- VITE_API_BASE=http://localhost:????/api/documents