Giter Club home page Giter Club logo

knuth's Introduction

Knuth

Deployment

The Knuth application has been deployed on Render and can be accessed at link.

Knuth Configuration Parameters

To run the Knuth application locally, create a .env file with the following parameters:

  • URI = <MongoDB URI here>
  • DEV_PORT = 3000
  • CLIENT_ID = <Google OAuth Client ID>
  • CLIENT_SECRET = <Google OAuth Client secret>
  • SESSION_SECRET = <Express session secret>
  • ImageUploadLimit = 5
  • ImageSizeLimitInBytes = 1048576
  • imgurClientID = <Imgur Client ID>
  • imgurClientSecret = <Imgur Client Secret>
  • TitleLength = 100
  • DescriptionLength = 1000
  • Host = http://localhost:3000
  • limitPerPage = 3
  • NodeMailerEmail = <Email for Nodemailer>
  • NodeMailerAppPassword = <App password for that email>

Packages Used -

  • "axios": "^1.5.0"
    
  • "dotenv": "^16.3.1"
    
  • "ejs": "^3.1.9"
    
  • "express": "^4.18.2"
    
  • "express-session": "^1.17.3"
    
  • "imgur": "^0.3.1"
    
  • "mongodb": "^5.7.0"
    
  • "multer": "^1.4.5-lts.1"
    
  • "nodemailer": "^6.9.5"
    
  • "passport": "^0.6.0"
    
  • "passport-google-oauth20": "^2.0.0"
    
  • "tslib": "^2.6.2"
    

Use npm install to install all the dependencies.

Run Locally

to run, trigger - node ServerSide/server.js

knuth's People

Contributors

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