Design comparison
Solution retrospective
Is anyone as a solution/tutorial, to run my express server for free for a project host in github ?
Community feedback
- @MelvinAguilarPosted 10 months ago
Hello there 👋. Good job on completing the challenge !
Hi, have you tried Render.com? It's free and allows you to deploy Express APIs.
Also, I've reviewed your GitHub, and NEVER, I repeat, NEVER upload your
.env
file to a GitHub repository ⚠️⚠️⚠️. You should add it to your.gitignore
to prevent it from being uploaded. If you do upload it, you expose sensitive information like credentials. Even with just your MONGODB_URL, someone could delete your entire MongoDB database without needing your MongoDB account. Be cautious.You need to configure your application in the hosting to add environment variables.
Happy coding!
Marked as helpful2@dreflePosted 10 months agoHi ! I will take a look to render then . Oh, I change that immediatly, thank you very much for noticing me that. I know about it but for some reason I forgot to add .env to .gitignore.
Thank you for your help. Have a nice day !
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord