GithubHelp home page GithubHelp logo

personal's Introduction

This repository is created for test purposes.

You only need to install node to run this code.

After you install node. You'll need to run the below command.

git clone https://github.com/thelonewolff/personal.git

npm install

This will install all the dependencies associated with the project.

You can run the code using the following command: npm start or node index.js

That's it! Enjoy using it.

P.S. It automatically connects to my MongoDB Cluster. So, if you want to connect to your local db you change the link in the mongoose.connect(...) to: 'mongodb://localhost:27017/myapp' or if you want to connect it to your own cluster you can modify the link accordingly.

Please Note: This is not a full blogging website. Also, this code allows one user to be created multiple times and also allows one user to like multiple times the same post.

If you want to look at a fully functioning blogging website, you can head over to My Blogging Website. It takes some time for it to load as it is hosted on a free platform. Please be patient.

Functionality:

You can create a new user. You will be displayed with a user id. You will need to note it down or copy it somewhere for future use. image

You can then use the userid to get the user details as shown below: image

You can create a post as shown below: image

You can like a post and check if it is famous as shown below: image

personal's People

Contributors

thelonewolff avatar

Watchers

James Cloos avatar  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.