Coder Social home page Coder Social logo

social-network-api's Introduction

Social-Network-API

Badge for GitHub repo top language Badge for GitHub last commit

Description

The purpose, the motivation, the execution:

This application was created as the start of a full stack social network application using a MongoDB database, and Express.js router and the Mongoose ODM. This application sets up the initial CRUD API routes that allow users to be created, searched for, updated, and deleted. This application also allows users to react to a friend's thoughts, create a list of friends, as well as delete thoughts, reactions, or friends. The user can also remove their account. This ground level application provides a strong foundation for the further development to its full potential.

Table of Contents

  • Installation

  • Usage

  • Contributions

  • Tests

  • License

    Installation

    Steps required to install project and how to get the development environment running:

    1. Clone the repo: git clone https://github.com/dpprdgls/Social-Network-API.git

    2. Open in VS Code. If you do not have VS code you must install it.

    3. Using the terminal, install node.js v16. If you have homebrew, the command should look like the following (brew install node@16), however this may vary and the documentation should be consulted.

    4. Once node.js v16 is installed, in the terminal, utilize the command npm init -y to initialize and create a package.json where project files will be stored.

    5. Next, use the terminal to run the command npm i to install the dependencies associated with this application (developers may need to install dependencies directly from the command line).

    Commands to install each dependency:

    • Command for express will be npm i [email protected]
    • Command for mongoose will be npm i mongoose
    • Command for nodemon will be npm i nodemon
    • Command for jest will be npm i jest
    1. Next, you will want to make sure you have access to a MongoDB account and MongoDB Compass, these will allow you to interact with the database and visually confirm what changes are being made in the database. (Link for MongoDB & MongoDB Compass download -> https://coding-boot-camp.github.io/full-stack/mongodb/how-to-install-mongodb).

    2. Once all dependencies are installed, you will then be able to run the command npm start from the root directory to spin up the server. With nodemon installed, you will also be able to utilize the command npm run dev to keep the server spun up between code edits.

    3. From there, you can utilize applications such as Insomnia to test the functionality of the API routes within the program and make edits to the code base (Link to install Insomnia -> https://docs.insomnia.rest/insomnia/install).

    Usage

    Instructions and examples for use:

    The usage of the application is dependent on running the application in your local environment and using an application like Insomnia or Postman to send requests to the various API end points.

    Usage_gif

    A demonstration of video can be found here: Demonstration

    Contributions

    Instructions on how other developers can contribute to your project:

    Open to collabortation, open an issue and create any changes you would like to incorporate into the project and await approval before merging into the main branch.

    Tests

    Instructions on how to run tests:

    There are currently no tests for for this applicaiton.

    License

    This project is covered under the MIT License license.


Questions?

dpprdgls

For any questions or concerns, feel free to contact me using the information below:

GitHub: @dpprdgls

social-network-api's People

Contributors

dpprdgls 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.