Skip to content

Repository files navigation

devblog is an blog website user can publish their blog post

Tech Stack 📋

  1. next.js
  2. express.js
  3. mongodb
  4. apollo
  5. graphql

How to run locally

  1. Create .env file and paste below code.

     
         PORT: 3000,
         GOOGLE_CLIENTID: Your Google client ID,
         GOOGLE_CLIENTSECRET: Your Google client screct code,
         MONGO_URI: Your mongo uri,
         SESSION_SECRET: your session secret
         LOCAL_URL = http://localhost:3000/
         PRODUCTION_URL = Your Production URL
         LOCAL_CALLBACK_URL = Your local callback URL
         PRODUCTION_CALLBACK_URL = Your Production callback URL
     
    
  2. To get Google clientID and Google client secrect you must create oauth in Google Developer Console

  3. Authentication is done through google-oauth20.

  4. Run the following command npm install

  5. To run client run below command

    npm run client

  6. To run both Client and Server run below command

    npm run server

Information

Application design will look as dev.to with some little changes in styles.

App Info

License

This project is licensed under the MIT License

About

devblog is an blog website user can publish their blog post

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages