Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JacobJax/node-posts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

26 Commits

Repository files navigation

🍃node-posts

Simple Node JS API. Live demo available here

Languages and technologies 🛠

  • Node JS
  • Express
  • MongoDB

Installation💾

Requirements

  1. Node JS
  2. Mongo DB Atlas account

Steps

  1. Run git clone https://github.com/JacobJax/node-posts.git
  2. Run cd node-posts to navigate to the project folder
  3. Run npm install to install dependencies

Running project ⚙

After cloning the project, installing node modules and creating a Mongo DB Atlas account, create a .env file. In the .env file, add your connection string from Mongo DB atlas which looks something like this mongodb+srv://<username>:<password>@cluster0.wwoebgl.mongodb.net/?retryWrites=true&w=majority.

Set DB_CONNECTION_STRING=mongodb+srv://<username>:<password>@cluster0.wwoebgl.mongodb.net/?retryWrites=true&w=majority and PORT=5000(Optional)

You can then run npm run start to view the project on localhost:5000.

Contributing 👷🏿‍♀️

  • Clone or Fork the project
  • Create an issue describing what you're working on and create a branch from your issue.
  • Work on your issue, push to the brach you created and create a new pull request.

About

simple Node JS API

Topics

Resources

Stars

Watchers

Forks

Contributors

AltStyle によって変換されたページ (->オリジナル) /