Code Monkey home page Code Monkey logo

dad-jokes-express-mongoose's Introduction

Dad Jokes Full-Stack APP

Just a app for training the backend with express and Mongoose and connect to frontend, that was done in Angular

Project pre-view

Tecnologies used:

  • NodeJS v18.16.0
  • MongoDB v7.0.0
  • Express
  • Mongoose
  • Angular

Back end Folder

โš ๏ธ You need to have MongoDB and Nodejs installed!

Go to folder

cd backend

Install all the dependecies

npm i

To run server

nodemon index.js

Backend port: http://localhost:3000/
mongoose port: mongodb://localhost:27017

API Endpoints

HTTP Verbs Endpoints Action
GET /jokes To get all jokes
POST /jokes To save a new joke
DELETE /jokes/:id To delete a single joke

Example data

 "_id": "644ac288c9f67664f20abdd7",
 "id": "R7UfaahVfFd",
 "joke": "My dog used to chase people on a bike a lot. It got so bad I had to take his bike away.",
 "status": 200
}

Front end folder

Go to folder

cd frontend

Go to dad jokes folder

cd dad-jokes

Install Angular CLI

npm install -g @angular/cli

Install all the dependecies

npm i

to run angular

ng server

Front end runs in the port: http://localhost:4200/

Documentations

dad-jokes-express-mongoose's People

Contributors

ciisiq avatar

Watchers

 avatar

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.