GithubHelp home page GithubHelp logo

mr-internetix / book-shelf Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 0.0 3.63 MB

Book selling platform

Home Page: https://bookshelf-app-68.herokuapp.com/

License: MIT License

JavaScript 100.00%
nodejs express api monogodb firebase-auth ejs-templates book-selling-portal

book-shelf's Introduction

Logo

BOOK SELLING PLATFORM -- Users Can Create Account / Post Ad's / Delete Ad's / Buy Books

Built Using

  • Javascript : Plain Javascript in frontend
  • CSS : Styling Markdown
  • EJS : Templating Engine
  • Node JS : Backend Server which works on V8 engine of Javascript
  • Express JS : Backend Framework
  • Mongo DB : Database
  • Firebase : Used for authentication of users

Run Locally

Clone the project

  git clone https://github.com/Mr-Internetix/book-shelf.git

Go to the project directory

  cd book-shelf

Install dependencies

  npm install

Start the server

  npm start 

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

MONGO_URL = your mongo-db atlas api key

Setting up firebase

Its simple just add the json file Downloaded from the firabase platform with file-name bookshelf.json in your root folder of the project i.e next to - index.js file

Change configuration in /public/js/login.js

var firebaseConfig = {
       // add your firebase configuration
    };

Configuring ImageKit Api in /routes/bookUpload.js

var imagekit = new ImageKit({
  publicKey: "add-your-key-here",
  privateKey: "add-your-key-here",
  urlEndpoint: "add-your-kye-here" 
}) 

Database configs

Just add the Database url in .env file ( I expect that mongo will create the collections automatically if not create manually by creating two collections ) i.e

  • books
  • users

License

MIT License.

MIT License

You can use this project for free without notifying me by forking this project under the following conditions:

  • Add a link to my Repository or my-profile
  • Star the repository

"Buy Me A Coffee"

book-shelf's People

Contributors

mr-internetix avatar

Stargazers

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