https://github.com/thamerh/e-learning-mobile-app
This is a mobile application built with React Native and Expo, designed for online learning of the Code de la Route. The app is built with a backend server that provides RESTful API endpoints for CRUD operations on cours and lesson resources.
https://github.com/thamerh/e-learning-mobile-app
e-learning expo expressjs multer mysql node react-native sequelize
Last synced: about 2 months ago
JSON representation
This is a mobile application built with React Native and Expo, designed for online learning of the Code de la Route. The app is built with a backend server that provides RESTful API endpoints for CRUD operations on cours and lesson resources.
- Host: GitHub
- URL: https://github.com/thamerh/e-learning-mobile-app
- Owner: thamerh
- Created: 2023-03-31T00:30:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-19T01:06:07.000Z (about 2 years ago)
- Last Synced: 2025-04-23T11:56:33.017Z (about 2 months ago)
- Topics: e-learning, expo, expressjs, multer, mysql, node, react-native, sequelize
- Language: JavaScript
- Homepage:
- Size: 36 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# E-Learning App
This is a mobile application built with React Native and Expo, designed for online learning of the Code de la Route. The app is built with a backend server that provides RESTful API endpoints for CRUD operations on cours and lesson resources.
## Back-end
The back-end of the app includes a CRUD API for managing courses and lessons. The courses table includes columns for `theme`, `nbLessons`, `description`, `active`, `duration`, and `id`. The lessons table includes columns for `id`, `active`, `duration`, `description`, `title`, `percent`, `filename`, `theme`, `createdAt`, and `updatedAt`.
### Installation
To install and run the back-end of the app, follow these steps:
1. Clone the repository to your local machine.
2. Install the required dependencies using `npm install`.
3. Start the server using `npm start`.### API Endpoints
The following endpoints are available:
- `GET /cours`: Returns a list of all courses.
- `POST /cours`: Creates a new course.
- `PUT /cours/:theme`: Updates an existing course.
- `DELETE /cours/:theme`: Deletes a course.- `GET /lesson`: Returns a list of all lessons.
- `POST /lesson`: Creates a new lesson.
- `PUT /lesson/:id`: Updates an existing lesson.
- `DELETE /lesson/:id`: Deletes a lesson.## Front-end
The front-end of the app includes a user interface for viewing and interacting with courses and lessons. The interface allows users to browse courses and view lessons, including videos.
### Installation
To install and run the front-end of the app, follow these steps:
1. Clone the repository to `https://github.com/thamerh/e-learning-mobile-app.git`.
2. Install the required dependencies using `npm install`.
3. Start the Expo server using `npm start`.
4. Install the Expo app on your mobile device.
5. Scan the QR code provided by the Expo server using the Expo app on your mobile device.### Usage
To use the app, follow these steps:
1. Open the app on your mobile device.
2. Browse the list of available courses.
3. Select a course to view the course details and available lessons.
4. Select a lesson to view the lesson details, including any associated videos.
5. Watch the video by clicking on the play button.
6. You can also view the written summary of the lesson by clicking on the "View Lesson Summary".### Contributing
Contributions are welcome! If you find a bug or have a feature request, please open an issue on the GitHub repository. If you would like to contribute code, please fork the repository and submit a pull request.
# secreen shot
### courses secreen
### Lesson secreen
### resume secreen
### vedio secreen
## Made By
- [@thamerh](https://github.com/thamerh)