- Clone the repo.
- Prepare:
npm install
- Start in dev mode:
npm run dev
- Build:
npm run build
- The frontend application will work over the remote backend server at
https://rtlm.tableer.com
.
API reference can be found here.
This repo also includes a backend part, so it's possible to launch it locally:
- Install
php8.3
,php8.3-memcache
extension, andmemcached
server, following the instructions appropriate for your Linux distribution. - Run the server:
For example, to run it at
/usr/bin/php -S domain:PORT -t /full/path/to/backend/directory
localhost
on port9999
;
Assuming ourbackend
directory is located at /home/user/RuntimeLearningManager/src/backend:/usr/bin/php -S localhost:9999 -t /home/user/RuntimeLearningManager/src/backend
- Check if it works: https://localhost:9999
I'm ready!
- To use the local backend server, you have to specify the environment variable
VITE_API_SERVER_URL
when launching the frontend server in dev mode:Now, your frontend is linked to your local backend only.VITE_API_SERVER_URL=http://localhost:9999 npm run dev
Development checklist: Pages/UI:
- Dialogs
- Login
- Registration
- Feedback form
- Header menus/buttons
- Login
- Notifications
- User's menu
- Logout
- Homepage
- Courses' description page
- User's cabinet mainpage
- "My learning" page
- My learning -> Course details page
- My learning -> Course details -> Module page
- My learning -> Course details -> Module page -> Lections page
- My learning -> Course details -> Module page -> Homework page
- My learning -> Course details -> Module page -> Test page
- Profile settings -> Personal data page
- Profile settings -> Credentials page
- Profile settings -> Email page
- Performance Page
API+StateManagement:
- Session Management
- Check account state
- Register account
- Login reservation
- Register login in system
- Log in
- Log out
- Courses management
- Fetch available courses data
- Metadata only (name, icon, short description)
- Full description
- Fetch User's courses
- Unread messages
- Metadata only
- Modules by courseId
- Metadata (timings, performance etc)
- Materials + status
- Article groups
- Articles + status
- Article groups
- Homework + status
- Task
- File upload
- Status
- Comments
- Tests + status
- Get questions
- Check Questions
- Profile data
- Feed data
- Update data
- Fetch available courses data