{"id":24711767,"url":"https://github.com/sunthecoder/testweb3project2","last_synced_at":"2026-04-09T15:45:38.877Z","repository":{"id":268910071,"uuid":"905479592","full_name":"SunTheCoder/testWeb3Project2","owner":"SunTheCoder","description":"This repo is a containerized full stack application using Python, Flask, JavaScript, Vite, React, Redux, Web3, MetaMask, Infura, Docker, ChakraUI, CSS, HTML technologies. Making uploads on Web3 feel as natural Web2.","archived":false,"fork":false,"pushed_at":"2025-02-22T02:42:16.000Z","size":787,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T03:24:55.356Z","etag":null,"topics":["chakra-ui","chakra-ui-react","chakraui","css","docker","html","javascript","python","react","vite","web3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SunTheCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-18T23:07:56.000Z","updated_at":"2025-02-22T02:42:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"345538c7-18b4-46f7-b1ef-93fbbe595ba0","html_url":"https://github.com/SunTheCoder/testWeb3Project2","commit_stats":null,"previous_names":["sunthecoder/testweb3project2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunTheCoder%2FtestWeb3Project2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunTheCoder%2FtestWeb3Project2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunTheCoder%2FtestWeb3Project2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunTheCoder%2FtestWeb3Project2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SunTheCoder","download_url":"https://codeload.github.com/SunTheCoder/testWeb3Project2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244918582,"owners_count":20531686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chakra-ui","chakra-ui-react","chakraui","css","docker","html","javascript","python","react","vite","web3"],"created_at":"2025-01-27T07:15:51.950Z","updated_at":"2025-12-30T19:05:03.433Z","avatar_url":"https://github.com/SunTheCoder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flask React Project\n\nThis is the starter for the Flask React project.\n\n## Getting started\n\n1. Clone this repository (only this branch).\n\n2. Install dependencies.\n\n   ```bash\n   pipenv install -r requirements.txt\n   ```\n\n3. Create a __.env__ file based on the example with proper settings for your\n   development environment.\n\n4. Make sure the SQLite3 database connection URL is in the __.env__ file.\n\n5. This starter organizes all tables inside the `flask_schema` schema, defined\n   by the `SCHEMA` environment variable.  Replace the value for\n   `SCHEMA` with a unique name, **making sure you use the snake_case\n   convention.**\n\n6. Get into your pipenv, migrate your database, seed your database, and run your\n   Flask app:\n\n   ```bash\n   pipenv shell\n   ```\n\n   ```bash\n   flask db upgrade\n   ```\n\n   ```bash\n   flask seed all\n   ```\n\n   ```bash\n   flask run\n   ```\n\n7. The React frontend has no styling applied. Copy the __.css__ files from your\n   Authenticate Me project into the corresponding locations in the\n   __react-vite__ folder to give your project a unique look.\n\n8. To run the React frontend in development, `cd` into the __react-vite__\n   directory and run `npm i` to install dependencies. Next, run `npm run build`\n   to create the `dist` folder. The starter has modified the `npm run build`\n   command to include the `--watch` flag. This flag will rebuild the __dist__\n   folder whenever you change your code, keeping the production version up to\n   date.\n\n## Deployment through Render.com\n\nFirst, recall that Vite is a development dependency, so it will not be used in\nproduction. This means that you must already have the __dist__ folder located in\nthe root of your __react-vite__ folder when you push to GitHub. This __dist__\nfolder contains your React code and all necessary dependencies minified and\nbundled into a smaller footprint, ready to be served from your Python API.\n\nBegin deployment by running `npm run build` in your __react-vite__ folder and\npushing any changes to GitHub.\n\nRefer to your Render.com deployment articles for more detailed instructions\nabout getting started with [Render.com], creating a production database, and\ndeployment debugging tips.\n\nFrom the Render [Dashboard], click on the \"New +\" button in the navigation bar,\nand click on \"Web Service\" to create the application that will be deployed.\n\nSelect that you want to \"Build and deploy from a Git repository\" and click\n\"Next\". On the next page, find the name of the application repo you want to\ndeploy and click the \"Connect\" button to the right of the name.\n\nNow you need to fill out the form to configure your app. Most of the setup will\nbe handled by the __Dockerfile__, but you do need to fill in a few fields.\n\nStart by giving your application a name.\n\nMake sure the Region is set to the location closest to you, the Branch is set to\n\"main\", and Runtime is set to \"Docker\". You can leave the Root Directory field\nblank. (By default, Render will run commands from the root directory.)\n\nSelect \"Free\" as your Instance Type.\n\n### Add environment variables\n\nIn the development environment, you have been securing your environment\nvariables in a __.env__ file, which has been removed from source control (i.e.,\nthe file is gitignored). In this step, you will need to input the keys and\nvalues for the environment variables you need for production into the Render\nGUI.\n\nAdd the following keys and values in the Render GUI form:\n\n- SECRET_KEY (click \"Generate\" to generate a secure secret for production)\n- FLASK_ENV production\n- FLASK_APP app\n- SCHEMA (your unique schema name, in snake_case)\n\nIn a new tab, navigate to your dashboard and click on your Postgres database\ninstance.\n\nAdd the following keys and values:\n\n- DATABASE_URL (copy value from the **External Database URL** field)\n\n**Note:** Add any other keys and values that may be present in your local\n__.env__ file. As you work to further develop your project, you may need to add\nmore environment variables to your local __.env__ file. Make sure you add these\nenvironment variables to the Render GUI as well for the next deployment.\n\n### Deploy\n\nNow you are finally ready to deploy! Click \"Create Web Service\" to deploy your\nproject. The deployment process will likely take about 10-15 minutes if\neverything works as expected. You can monitor the logs to see your Dockerfile\ncommands being executed and any errors that occur.\n\nWhen deployment is complete, open your deployed site and check to see that you\nhave successfully deployed your Flask application to Render! You can find the\nURL for your site just below the name of the Web Service at the top of the page.\n\n**Note:** By default, Render will set Auto-Deploy for your project to true. This\nsetting will cause Render to re-deploy your application every time you push to\nmain, always keeping it up to date.\n\n[Render.com]: https://render.com/\n[Dashboard]: https://dashboard.render.com/\n# testWeb3Project2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunthecoder%2Ftestweb3project2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunthecoder%2Ftestweb3project2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunthecoder%2Ftestweb3project2/lists"}