Code Monkey home page Code Monkey logo

updately's Introduction

Updately

A social platform for daily updates.

Development

Both Updately's frontend and backend are built in Next.js. Auth is handled using next-auth with Google OAuth as the only provider, and MongoDB is used for data storage. For full details, check out this blog post.

To get a local version of Updately running:

  1. Clone this repo
  2. Make a .env file in the project root with the following variables:
    • GOOGLE_CLIENT_ID: client ID from Google OAuth credentials (follow Google//next-auth instructions to set up yourself)
    • GOOGLE_CLIENT_SECRET: client secret from Google OAuth credentials
    • NEXTAUTH_URL: http://localhost:3000 or whatever your URL is
    • MONGODB_URL: MongoDB URL with specified cluster, password, etc. Set up your own MongoDB cluster for this
  3. Run npm run dev to spin up a local server. Have fun!

updately's People

Contributors

wwsalmon avatar laurgao avatar dronhazra avatar w-henderson avatar

Stargazers

Ulisse Mini avatar Yann  avatar Subhan Bakh avatar  avatar  avatar  avatar Sebastian Crossa avatar Geoff Donaldson avatar Davide Radaelli avatar Song Liu avatar

Watchers

Mindey avatar Geoff Donaldson avatar  avatar  avatar

updately's Issues

Paid accounts

Just add the functionality? add it to the model and add a dummy stripe thing or sth

Follow recommendations

Build some sort of recommender system based on who others follow

could be cool learning for me too

Add notifications

  • Updates from following users (though maybe this would get a little much)
  • Comments (big one)
  • Follows

default date is incorrect

noticed a bug with how my updates very unambiguously written on a certain evening (e.g. sep 12) are given the date "sept 13". i am working on this btw

fix next-auth on mobile

useSession bugs out on mobile and never loads for some reason

temp (also pretty decent long-term) fix is to just handle auth through SSR and pass along thisUser prop

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.