I'm a computer science student but not really experienced in web development. A friend of mine who isn't technical has asked me to set up a demo website that they can run on their local computer. I'm using React for the frontend, FastAPI for the backend, and SQLite for the database. Since this is just for demonstration purposes, I've decided not to include any authentication or CORS settings.
The challenge comes with sharing the code. They aren't familiar with installing Python and Node.js, which makes things tricky. I'm considering deploying it on a free tier, but I'm concerned about potential security issues. Is this a legitimate concern? I'd appreciate any insights, and I apologize if this question seems a bit silly!
5 Answers
Utilizing GitHub is a great idea. You can also create a setup script that automates installations. Include simple commands in a README file so they know what to do: clone the repo and run a script to get everything going.
That's like living life on the edge without a safety net! But seriously, if it's just a demo and doesn't have sensitive data, take precautions, but don't worry too much.
If you're deploying the site, it’s definitely a bad idea to go without authentication. For local use, it’s less of a concern, but for sharing, you might want to consider options like Docker to simplify the setup for them.
Since this is just for a demo, consider using GitHub to share the code. Offer them installation instructions and be available to help. Keep it local and avoid deploying it online.
It really depends on what the site is for. If it's something basic like a blog, you might not need authentication. I’m guessing you were asking about user authentication specifically for this demo.

Definitely! Just write up some clear steps for them to follow to clone the repo and run it locally. It makes it easier and safer.