A Node.js and React-native App for a Fake Educational Institute

A Node.js and React-Native app for a fake educational institute.

šŸš€ About the project

E.learning is an application geared towards education, offering courses from different areas of knowledge with content in video format.

šŸ‘Øā€šŸ’» Technologies

Server

  • Node.js
  • AWS-SDK
  • BCrypt
  • Celebrate
  • Class-Transformer
  • CORS
  • Handlebars
  • JSON Web Token
  • tsyringe
  • TypeORM
  • Jest
  • Typescript

Web

  • Next.js

Mobile

  • React-Native
  • React Navigation
  • Unform
  • Axios
  • Styled Components
  • Yup
  • Typescript

Database

  • PostgreSQL
  • Mongo
  • Redis

šŸ”§ Getting started

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.

āœļø Todo

  • [ ] Server:
    • [ ] Add queue for e-mails using Bull.
    • [ ] Add used property to UserToken, so the token cannot be used two times.
    • [ ] Add refreshToken and accessToken strategies.

šŸ“ License

Made with šŸ’– by Caio.
ā˜• Can we have a coffe? Get in touch!

Download Details:

Author: caiotracera

Source Code: https://github.com/caiotracera/e.learning

#react-native #react #nodejs #node

A Node.js and React-native App for a Fake Educational Institute
4.05 GEEK