env file needed for /backend
DATABASE_URL=postgres://cozy:comfy123@localhost/cozy
command to run in docker
docker build -t comfy .
A site for neets...
Home Page: https://api.cozy.nyc
License: GNU General Public License v3.0
A few changes are needed for boards.
/boards/board/<tag>
should return only a list of active threads. Currently the api call sends a list of all the threads on the site with active threads as it's own field. The api call is better off sending a list of threads that are active and/or locked. I recommened creating a call 'boards/boards//fulldetail` that shows all threads.
Threads should have a updated
model that starts off equal to the created
but when a post is made update will reflect the date that the post was made. List of threads should also be order by updated
in descending order.
Error when creating a thread. I only notice this on my version of the repo on testing. @nobodyhere2see can you confirm if the issue happens to you.
There's somemore changes needed but can't test without the ability to create a thread(RIP)
Locations should be a list instead of a text input.
Locations:
The app should be renamed for consistency with the frontend.
Services should be a list to keep things simple for now for embed links.
Not sure if channel is necessary since streams are based on usernames
There needs to be a way for the live stream to automatically go live once a user starts streaming on one of the given platforms. Webhooks might solve this issue.
Describe the bug
Different api requests lead to 500 internal server errors
To Reproduce
Steps to reproduce the behavior:
Routes for bad post requests
Routes for bad get requests:
Expected behavior
Should be able to successfully make all post requests and get requests, or at least encounter a 404 type error on post requests.
Creating a POST call with the follow parameter
/boards/thread/<threadid>/reply
that will create a post and automatically add it to the replies of the thread would make things a lot easier for the front end side of things. Will try to implement this.
With the project getting much bigger I believe an updated readme is necessary.
Adding photos and a more detailed "how to launch" as well as more details on the project as a whole are needed.
Just a whole README overhaul.
Test are outdated and repo needs to support TravisCL.
Add an optional field for posts so users can sage a post (create a post without bumping a thread).
I'll think of other options to add later.
Should add back docker for easier local development.
Changes need to API calls.
Calling /info
should return status of services (online or offline) and a message(Important Boolean)
Ignore Info for now
Calling /boards
should return status of the service (online or offline), message(Important Boolean), list of active boards.
Active Boards should include name of board and tag
Calling /boards/list
should return a list of all the boards on the site with details of amount of active threads, total amount of threads, amount of unique posters.
Calling /boards/<boardtag>
should return a list of threads on that board, amount of active threads, total amount of threads, amount of unique posters
Thread info should include OP's image, a blurb of OP's post, post date, date of recent activity, OP user/profile.
Calling /boards/thread/create
should create a thread
Calling /boards/thread/<threadID>
should return OP's post and a list of replies, number of replies, creation date, date of last activity, list of users, number of unique posters, and list of images on this thread
Calling /boards/thread/<threadID>/reply
should create a post on a thread.
Calling `/boards/thread/post/ should return details of a post.
All api calls for exchange should start with /exchange/
Calling /exchange
should return status of the service (online or offline), message(Important Boolean)
Calling /stream
should return status of the service (online or offline), message(Important Boolean), and a list of ongoing livestreams.
When a thread is delete all associated posts/replies should be deleted as well.
After making a post api call to to request a token using /api-token-auth/
. The response data contains the users password.
While in production, django should send out any error logs to the admin emails, but I'm not able to get one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.