I'm planning to build a subreddit simulation website using Angular, Tailwind, and TypeScript. It's going to be a single-page application, and I'm looking for any tips or advice on how to get started with this project.
3 Answers
I recommend starting by setting up your database first. You can use options like Firebase, Supabase, or MongoDB. Define the schema for posts and users, then create a few initial records. After that, focus on the frontend—maybe consider using Vite with React and setting up JWT for authentication. While you’re building out the frontend components, also implement the backend routes in Express or Flask. This approach will let you create a CRUD app with user authentication pretty quickly! Plus, you could set up an application to randomly generate accounts and posts, giving your site some activity from the get-go.
One idea is to train an AI model on a subreddit to generate text content for your site. This can help create dynamic posts and comments that mimic real interactions. Just keep in mind you'll need a solid understanding of the backend to implement this.
But wouldn't that lead to some pretty generic outputs? Like, how do you keep it interesting?
I built a similar project, a Twitter emulator, a while back! You can check it out at my site for inspiration. It may provide some insights into the structure and functionality you might want to consider.
That sounds cool, but my backend skills are pretty limited! I mainly know Python. Any suggestions for how I could apply my skills?