Skip to content

This is a simple API Blog website. Allowing users to read, post, edit, and delete posts. Data does not persist.

Notifications You must be signed in to change notification settings

D-Whipp/dr-yu-api-blog

Repository files navigation

API Blog

Backend Web App

app image

Description

This is a simple API Blog website. Allowing users to read, post, edit, and delete posts. Data does not persist.

Table of Contents

Purpose

API Blog is a backend web project presented by Dr. Angela Yu within her Udemy Course.

In this chapter I learned API routes GET, POST, PUT, PATCH, and DELETE. With this challenge I took everything I learned and created this API Blog website.

Technologies Used

  • Express
  • JavaScript

Usage

Step 1

Download Repository and open the project in an Editor of your choice. I recommend VS Code.


BE SURE TO CD INTO THIS PROJECTS ROOT DIRECTORY

Step 2

Install dependencies with npm i.

Step 3

Run the code using Nodemon. Nodemon video created and provided by redfriends.


This project has TWO scripts which need to run simultaneously.


While in this projects root folder, open two consoles and run nodemon server.js and nodemon index.js.

Step 4

Using Chrome go to localhost:3000

Step 5

From here you can read the posts listed, create your own post, edit a post, or delete a post.

License

MIT License

Copyright (c) [2022] [David Whipple]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Hello, my name is David.
You can email me at dwhipp88@gmail.com.
Check out my -> github.
Check out my -> portfolio.

Badges

javascript express

About

This is a simple API Blog website. Allowing users to read, post, edit, and delete posts. Data does not persist.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published