A Node.js and React-Native app for a fake educational institute.
E.learning is an application geared towards education, offering courses from different areas of knowledge with content in video format.
Server
Web
Mobile
Database
In order to run this project, you must have installed Node.js, Yarn, Git CLI, Docker and be able to run an Android or iOS simulator. If you met all the requirements, follow the instructions:
Clone the project
$ git clone https://github.com/caiotracera/e.learning
$ cd e.learning
Create Docker containers
$ docker run --name postgres -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres # Create PostgreSQL container
$ docker run --name redis -p 6379:6379 -d -t redis:alpine # Create Redis container
$ docker run --name mongo -p 27017:27017 -d -t mongo # Create Mongo container
Start Docker containers
$ docker start postgres redis mongo
Start backend server
$ cd server # Starting from the project's root folder, access server's folder
$ yarn # install all dependencies.
$ yarn typeorm migrations:run # Run migrations on your database
$ yarn dev:server # Start the development server.
Start mobile app
$ cd mobile # Starting from the project's root folder, access mobile's folder.
$ yarn # Install all dependencies.
$ yarn android # Install and open the app in your android device or emulator.
$ yarn ios # Install and open the app in your iOS device or emulator.
used
property to UserToken, so the token cannot be used two times.Made with š by Caio.
ā Can we have a coffe? Get in touch!
Author: caiotracera
Source Code: https://github.com/caiotracera/e.learning
#react-native #react #nodejs #node