Giter VIP home page Giter VIP logo

nebula's Introduction

Nebula

Nebula est un site qui regroupe les idées reçues que les films de SF véhiculent sur l’espace, à l’aide d’extrait de films, les articles auront pour but de contrer ses idées reçues en expliquant le pourquoi du comment. Grâce à un quiz les utilisateurs pourront tester leur culture générale concernant l’espace et, pourront consulter les fiches explicatives.

Equipe:

  • Federica Alfano
  • Aymeline Chemin
  • Corentin Croizat
  • Clara de Langenhagen
  • Enzo Hespel
  • Laure Papin

sitemap

Sitemap

Page

CREATE TABLE `fact_sheets` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tab_title` varchar(110) COLLATE utf8mb4_unicode_ci NOT NULL,
  `category` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL,
  `main_title` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL,
  `video_description_title` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL,
  `video_description_text` varchar(3000) COLLATE utf8mb4_unicode_ci NOT NULL,
  `video_src` varchar(2048) COLLATE utf8mb4_unicode_ci NOT NULL,
  `video_alt` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `explanation_title` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL,
  `explanation_text` varchar(3000) COLLATE utf8mb4_unicode_ci NOT NULL,
  `scientific_fact_title` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL,
  `scientific_fact_text` varchar(3000) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `home_questions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `page_id` int(11) NOT NULL,
  `question` varchar(160) COLLATE utf8mb4_unicode_ci NOT NULL,
  `answer` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_F4082D91C4663E4` (`page_id`),
  CONSTRAINT `FK_F4082D91C4663E4` FOREIGN KEY (`page_id`) REFERENCES `fact_sheets` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `quizz` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `page_id` int(11) NOT NULL,
  `question` varchar(160) COLLATE utf8mb4_unicode_ci NOT NULL,
  `first_answer` varchar(110) COLLATE utf8mb4_unicode_ci NOT NULL,
  `first_answer_correction` tinyint(1) NOT NULL,
  `second_answer` varchar(110) COLLATE utf8mb4_unicode_ci NOT NULL,
  `second_answer_correction` tinyint(1) NOT NULL,
  `third_answer` varchar(110) COLLATE utf8mb4_unicode_ci NOT NULL,
  `third_answer_correction` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `UNIQ_7C77973DC4663E4` (`page_id`),
  CONSTRAINT `FK_7C77973DC4663E4` FOREIGN KEY (`page_id`) REFERENCES `fact_sheets` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

Back office

/api/

  • facts
GET facts/
GET facts/{id}
POST facts/
FactSheetsController::getFacts()
FactSheetsController::getOneFact()
FactSheetsController::PostFactsAction()
  • homeQuestions
GET homeQuestions/
GET homeQuestions/{id}
POST homeQuestions/
HomeQuestionsController::getQuestions()
HomeQuestionsController::getOneQuestion()
HomeQuestionsController::PostQuestionsAction()
  • quizz
GET quizz/
GET quizz/{id}
POST quizz/
QuizzController::getQuizz()
QuizzController::getOneQuizz()
QuizzController::PostQuizzAction()

/admin/

SonataAdminBundle

nebula's People

Contributors

fedre30 avatar corentincrz avatar draktors avatar claralangen avatar

Watchers

James Cloos avatar

Forkers

gistol

nebula's Issues

Wireframe

Esquisse de la structure de la page d'accueil

Axios

Communication front/back

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.