https://github.com/isaychris/reddit-clone
A reddit clone written using node.js / express.js / mongodb / passport.js. https://seiya-beddit.herokuapp.com/
https://github.com/isaychris/reddit-clone
bcrypt express-js moment-js mongodb node-js passport-js reddit
Last synced: about 1 month ago
JSON representation
A reddit clone written using node.js / express.js / mongodb / passport.js. https://seiya-beddit.herokuapp.com/
- Host: GitHub
- URL: https://github.com/isaychris/reddit-clone
- Owner: isaychris
- Created: 2018-09-12T01:24:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T12:32:31.000Z (over 2 years ago)
- Last Synced: 2024-10-29T23:14:50.616Z (7 months ago)
- Topics: bcrypt, express-js, moment-js, mongodb, node-js, passport-js, reddit
- Language: JavaScript
- Homepage:
- Size: 292 KB
- Stars: 94
- Watchers: 8
- Forks: 29
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Beddit
A reddit clone written using node.js / express.js / mongodb / passport.js### Website:
https://seiya-beddit.herokuapp.com/
### Features:
* Frontpage
* Subreddits
* Submitting comments / posts / links
* Voting on posts / comments
* Saving posts / comments
* Editing posts / comments
* Deleting posts / comments
* Subscribing
* Searching
* Sorting
* Profile pages
* Karma system
* Relative time
* Validation
* Login / Register
* Hash / salted passwords
* Change password / delete account
* API# API:
URL | Method | Details | Body
---- | ---- | ---- | ----
/api/frontpage | GET | Retrieves all posts from frontpage
/api/r/```subreddit``` | GET | Retrieves all posts from ```subreddit```
/api/post/```id``` | GET | Retrieves post by ```id```
/api/post/```id```/comments | GET | Retrieves all comments for post by ```id```
/api/u/```user``` | GET | Retrieves profile information about ```user```
/api/u/```user```/posts | GET | Retrieves all posts by ```user```
/api/u/```user```/comments | GET | Retrieves all comments by ```user```
/api/register | POST | Registers an account | ```username```, ```password```# Screenshots:














