Coder Social home page Coder Social logo

mukoedo1993 / shaberu Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 12.19 MB

Use our web app to create posts, follow other people and chat together!!!

Home Page: https://shaberu2022.onrender.com/

JavaScript 75.29% EJS 18.43% SCSS 6.29%
onrender onrender-deploy ejs mongodb sass

shaberu's Introduction

Use:

Locally use:

You should have an extra local .env file like below.
And then you run: npm run watch and to see your deploying
on localhost:3000

Deploying via render(2022Nov4th update)

Remember to set config vars.
Ref:

CONNECTIONSTRING=<connection string, no any quote>
PORT=<port value>
JWTSECRET=<secret string.>
SENDGRIDAPIKEY=<send grid key>

Note that I have moved from heroku to onrender for free deploying services.

my plans:

  1. add a lost-and-found page.
  2. add a super admin page to clean mongodb backend easily and safely on the website.

docs:

(under construction)

shaberu's People

Contributors

mukoedo1993 avatar

Watchers

 avatar

shaberu's Issues

login and logout

If I login and logout again, I couldn't create a new post correctly.

mongodb update

Connecting To MongoDB in Node.js

Hello everyone,

I wanted to provide a quick note about connecting to your MongoDB database from within your Node.js code. The newest version of the official mongodb package on NPM requires different syntax for connecting to the database than what you'll see in the current course lessons.

However, there's good news; all you need to do to successfully follow along with the course as it stands today is install a different version of the monogdb package. This means instead of "npm install mongodb" you'd use "npm install [email protected]"

You can find more information about this situation in Lectures #27 and #54, but I wanted to include that quick fix directly here in an announcement as well. I'll send out another announcement once I finish my much larger-in-scope update of the course to use the newest packages, and also offer an alternative for those of you who don't want to create a MongoDB Atlas Cloud account and would rather host the database locally.

Thanks!
Brad

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.