GithubHelp home page GithubHelp logo

sheikdon / rickandmortyapi Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 1.54 MB

This is my Version 1 of my fully functional fullstacks App!

Home Page: https://ricksandmortswiki.fly.dev/

JavaScript 65.39% Liquid 33.00% CSS 1.61%
fullstack rick-and-morty rick-and-morty-api rickandmorty rickandmortyapi

rickandmortyapi's Introduction

RickAndMortsWiki

This is a basic Fullstack application that shows Rick and Morty characters and their details, based on mvvm architecture.

* feel free to add more character and discuss on the VR1 wiki!

rickandmortspic

The Objective of this Fullstack App is to display information of the current characters in the database for Rick and Morty. You will be able to search and create the desired characters.

Summary

Welcome to the RickandMorts Wiki! This web site allow you to view and add new RickandMorts to the wiki server. You can view the characters as a guest user and simply click on one of the characters to get information on that character (name, status, species and etc).

Create an account to allow you to add your own RickandMorts, where you can add in the new character that you want, or if you are already a user with us login back in to edit the characters you have added to in the past and add new characters that you haven't made yet.

When in your own RickandMorts characters, you will be able to add/edit information such as schema you made and a comments section to discuss about your character.

API EndPoints:

| Verb   | URI Pattern            | Controller#Action |
|--------|------------------------|-------------------|
| POST   | `/signup`              | `users#signup`    |
| POST   | `/login`               | `users#login`     |
| GET    | `/logout               | `user#logout      |
| DELETE | `/characters/id:`      | `users#delete`    |
| GET    | `/:id/edit`            | `user#edit`       |
| PUT    | `/:id                  | `user#update`     |
| GET    | `/new`                 | `user#newform`    |
| GET    | `/`                    | `#index`          |
| GET    | `/mine`                | `user#index`      |
| GET    | `/:id`                 | `user#characters` |

Technologies used:

 HTML5, CSS, Javascript, Back-end code, and MongoDB
 "bcryptjs": "^2.4.3",
    "bootstrap-icons": "^1.9.1",
    "connect-mongo": "^4.6.0",
    "dotenv": "^16.0.0",
    "express": "^4.17.3",
    "express-session": "^1.17.2",
    "liquid-express-views": "^1.0.8",
    "method-override": "^3.0.0",
    "mongoose": "^6.2.4",
    "morgan": "^1.10.0"

Models:

name: { type: String, required: true },
   	status: { type: String, required: true },
       species: { type: String, required: true },
   	gender: { type: String, required: true },
   	origin: { type: String, required: true },
   	location: { type: String, required: true },
   	image: {type: String, required: true},

   	owner: {
   		type: Schema.Types.ObjectID,
   		ref: 'User',
   	},
   	comments: [commentSchema]
   },
   { timestamps: true }

As a user I want to be able to...

### - sign up with a username and password
### - log in with the username and password
### - log out
### - search for a characters by name
### - read the info on a character
### - log a character I see remove a log from a character 
### - I see add comments to a character I see

Timeline of Project:

### - Monday: get idea verified and ask questions to make sure I can make a functional API App.
### - Tuesday: Start the back-end code and get the route folders done. This also may included th controllers.
### - Wednesday: Get the backend code and make sure the API works.
### - Thursday: start the Liquid and work on the clickable routes
## - Friday: Finish up the liquid and make a functional regardless how ugly the site is.
### - The Weekend: Decorate and add new ideas to the website and finish any missing work I have.

ERD

ERD

Display

Image1 Image@ Image3 Comment Image2

rickandmortyapi's People

Contributors

sheikdon avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

scarletpuma

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.