Skip to content

A space observatory and Internet forum using the MERN Stack

Notifications You must be signed in to change notification settings

ricardoronchetti/observatorium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Observatorium: A space observatory and Internet forum

Table of Contents
  1. About The Project
  2. Getting Started
  3. Authors
  4. Demo
  5. Acknowledgments

About The Project

Observatorium: A space observatory and Internet forum is our final project developed in Ironhack Madrid.

We used the following APIs:

Four NASA API:

  • Astronomy Picture of the Day
  • Earth Observatory Natural Event Tracker
  • Mars Rover Photos
  • Mars Weather API via Curiosity Rover

Two API for map Integration:

  • OpenLayers
  • MapTiler

One SaaS API to upload our media assets:

  • Cloudinary

(back to top)

Built With

(back to top)

Endpoints Summary

CLIENT:

Routes URI path Description Protected
Route / Home page
Route /items items page
Route /items/:id item details page
Route /earth earth event
Route /mars mars
Route /mars/carousel mars carousel
Route /mars/weather mars weather
Route /profile profile: user, admin
Route /profile/my-items items:user,admin
Route /admin panelAdmin
Component Error message errors management

SERVER:

HTTP Method URI path Description Protected Role
GET /items/getAllItems list of items user, admin
GET /items/getAllItems/:id item details user, admin
GET CLOUDINARY item image user, admin
POST /auth/logout user logout user, admin
POST /items/create create items user, admin
PUT /user/:id update user user, admin
GET /user/:id/items user Id items user, admin
POST /auth/login login user, admin user, admin
POST /auth/signup sign up user user, admin
GET /admin-panel users, items, rating admin
DELETE /user/:id/delete delete user (role:admin) admin
DELETE /items/:id/delete delete item (role:admin) admin
DELETE /items/rating/:id/delete delete rating (role:admin) admin
PUT /items/:id/edit administration panel user, admin

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • npm

    npm install npm@latest -g
  • Packages

    npm install bcryptjs express-session connect-mongo

Installation

  1. Clone the repo
    git clone https://github.com/ricardoronchetti/observatorium.git
  2. Install NPM packages in Client and Server folder
    npm install
  3. In the Server folder
    npm run dev
  4. In the Client folder
    npm start

(back to top)

Demo

A live Demo is available.

(back to top)

Contact

André Documet - LinkedIn
Ricardo Ronchetti - LinkedIn
Roberto Cadenas - LinkedIn

(back to top)

Acknowledgments

Guillermo Concepción - Ironhack's Teacher Assistant & our Product Owner

(back to top)

About

A space observatory and Internet forum using the MERN Stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published