Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
/ DevInspo Public archive

A website built in react where people can share and view coding project ideas!

Notifications You must be signed in to change notification settings

pvwnthem/DevInspo

Repository files navigation

THE SITE IS NOT DEPLOYED FROM THIS REPO, I AM AWARE OF ANYTHING RELATED TO "LEAKED" MONGODB URLs OR ANYTHING ELSE THAT SHOULD BE CONCEALED IN PRODUCTION.

DevInspo

DevInspo is a platform where people can share and view ideas 💡. Without the need for an account, DevInspo is avalible at a moments notice for any user on any device. Find your next project on DevInspo!

Badges

MIT License GPLv3 License AGPL License AGPL License

Authors

Contributors

Features

  • Tags On Posts
  • Live previews Of New Posts
  • Fully responsive, avalible on all devics
  • Lightning Fast, Built On React
  • Explot prevention and security

Documentation

Documentation

Tech Stack

Client: React, TailwindCSS

Server: Node, ExpressJS, MongoDB

Lessons Learned

While building this project I learned more about ES6 topics and ReactJS. I learned multiple different ReactJS hooks and there uses like useEffect, useState, and useCallback. I learned how to work with cookies and about CORS. This project taught me a LOT about react and typescript and I hope my project will be able to provide project ideas to people for many years to come!

Roadmap

  • More api functionality

  • More UI elements and pages

Contributing

Contributions are always welcome!

API Reference

Base Url

/api/v1

Posts

Base Url

  /api/v1/posts

Get Random Post

GET /api/v1/posts/random

Create Post

POST /api/v1/posts/new
Parameter Type Description
title string Required. Title Of Your Post
text string Required. Content Of Your Post
tags array Not Required. Tags Of Your Post

Get Recent Posts

GET /api/v1/posts/recent
Query Type Description
?limit= number Not Required. How many of the recent posts to grab

Get All Time Popular Posts

GET /api/v1/posts/popular
Query Type Description
?limit= number Not Required. How many of the most liked posts to grab

Get Oldest Posts

GET /api/v1/posts/oldest
Query Type Description
?limit= number Not Required. How many of the oldest posts to grab

Feedback

If you have any feedback, please reach out to me at pvwn.them@gmail.com