Code Monkey home page Code Monkey logo

athens's Introduction

Athens Project

This repository is for the [Cursors] does the entire fucking thing in one week challenge dead

Athens Project Routing

A * means authentication is required.

Routes

/                             Home page
/*                            User's notes
/:id*                         View and manage a note
/settings*                    User's settings
/premium*                     View premium plans

API Routes

/auth                         GET        Authentication
/auth/redirect                GET        Callback URI
/auth/logout                  GET        Log out
/api/notes/:email             GET        User's notes
/api/edit*                    POST       Edit a note
/api/delete*                  POST       Delete a note
/api/new*                     POST       Create a new note
/api/explore?q=:query         GET        Search other notes and outlines
/api/user/delete*             POST       Delete user's account
/api/user/username*           POST       Update user's username
/api/user/premium/:plan*      POST       Update user's premium plans
/api/user/premium/remove*     POST       Remove user's premium plans

Athens Project Database User Schema

_id              User's email
username         User's username
avatar           User's avatar
notes            User's notes
  name
  note
  website
  private
  id
premium          User's premium plans
isSubscribed     Is the user subscribed (so we can get that moolah every month)

Athens Project Packages

Excluding type definitions

next                  Next.js
react                 React.js
react-dom             React.js DOM
express               Custom server
passport              Authentication
passport-github       GitHub Authentication Strategy
mongodb               Database driver
mongoose              MongoDB ORM
remark                Markdown parser

Athens Project Limits

notes          64 notes
  name         128 chars
  note         4096 chars
  website      512 chars

Athens Project Premium Perks

Privacy ($1/month) – Make private notes and outlines

More Notes ($2/month) – Note limit is doubled

Avid Writer ($5/month) – Character limits are doubled

Professional ($12/month) – Note limits are g o n e

athens's People

Contributors

mchccn avatar

Stargazers

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