/sora-cine

Streaming platform

Primary LanguageJavaScript

Sora Cine

Project Live demo

https://sora-cine.vercel.app

Built with MERN Stack

  • MongoDB: A document-based database or NoSQL, to be precise MSQL.

  • ExpressJS: A web app framework for Node.js

  • React: A Javascript front-end library for building User Interface (UI).

  • Node.js: Javascript run-tume environment that executes Javascript code outside of a browser (such as a server).

  • and Mongoose: Simple, schemabased solution to model application data.

Prerequisites

To Run this project in your system you need to install:

Setup

Clone or download this repository

  1. cd https://github.com/matthieuGravy/sora-cine
  2. npm install To install dependencies inside the package.JSON

To Run

To run node server

To run react frontend

Front

install pnpm

npm install -g pnpm

install dependencies

pnpm install

run the vite server

pnm run dev

BACK

.env

  • inside sora-cine/server-sora
  • create your .env

API routes

CRUD

ANIME (by genre, all)

  • /series : GET request, to get All anime in the database.
  • /series/genre (genre = mystery, crime, fantasy, act_adv, comedy) : GET request, to get anime by genre in the database.

CONTACT

  • /contact : GET request : to get all contact post in the database for the admin panel.
  • /contact : POST request, to create a new contact field object in the de database before returning in the admin panel.

LOGIN

  • /login : GET request, to get user in the database.
  • /login : POST request, to get the user from the users DB and post in the logins DB to assign a token.

USER

  • /user : GET request, to get user in the database.
  • /user/:id : GET request, to get user by user in the database.
  • /user : POST request, to create a new user.
  • /user/:id : PUT request, to modify the users by id.
  • /user/:id : DELETE request, to delete a user and send him to DELETED USER.

DELETED USER

  • /deletedUsers : POST request, to create a list of deleted users.

Technology used:

▶ How to install?

🚧NodeJS and yarn must already be installed in your system and have an android device! 🚧

Firstly, you will need to clone the repo locally.

Once you have it ready navigate into the directory and run the following commands:

Start the Web App<code>yarn start</code>

MADE WITH 🧠 BY


Hansana Nhouvannasak

💻

Matthieu Gravy

💻

BurakTC

💻

Jessy Victor Tibou

💻
Do not forget to leave a star! 🤗