https://github.com/serlo/testtiger
https://github.com/serlo/testtiger
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/serlo/testtiger
- Owner: serlo
- License: apache-2.0
- Created: 2024-09-04T19:39:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-30T08:05:51.000Z (about 1 year ago)
- Last Synced: 2025-05-09T01:48:12.773Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://testtiger-nine.vercel.app
- Size: 48.5 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README-DEVELOPER.md
- License: LICENSE
Awesome Lists containing this project
README
# Readme for Developer
## Introduction
This repository contains the source code and content for the next generation of Serlo's exam preparation. It is designed as a standalone app for practicing math. The app is implemented as a web application. The web framework used is [next.js 14](https://nextjs.org/), and for native wrappers, [ionic 8](https://ionicframework.com/) and [capacitor 7](https://capacitorjs.com/docs) are also integrated. The primary target is currently the web.
## Getting Started
[node.js v20](https://nodejs.org/en) or higher is required. After cloning the repository, run `npm start` in the main directory. This will install all dependencies and start the development server at [http://localhost:3000/](http://localhost:3000/). You can also run `npm install` and `npm run dev` separately.
Create a production build with `npm run build`. The repository is linked to the Serlo account on [vercel.com](https://vercel.com), and the prototype is hosted there at [https://testtiger-nine.vercel.app/](https://testtiger-nine.vercel.app/). Push to `main` for a new deployment.
The repository also includes a backend server component in the `/backend` directory. Run `npm install` separately in this directory and then `npm start`. The backend is currently hosted on the Asteroid `testtige` of the Serlo-Uberspace. A directory named `backend-testtiger` has been created there. A new version of the server can be deployed using the `./deploy.sh` script in the `backend-testtiger` directory. To access the Uberspace, [create a new ssh-key](https://manual.uberspace.de/basics-ssh/) via the Uberspace dashboard.
The backend is storing profiles in a database. Use https://mysql.uberspace.de/phpmyadmin/index.php?route=/sql&pos=0&db=testtige_backend&table=Profiles&server=117 to get access to the data, username is `testtige` and the mysql passwort can be found by typing `cat .my.cnf` in the root of the uberspace.