{"id":20982888,"url":"https://github.com/sentvinsent/user-list-practice-project","last_synced_at":"2026-04-11T15:36:51.833Z","repository":{"id":255900359,"uuid":"853469327","full_name":"Sentvinsent/user-list-practice-project","owner":"Sentvinsent","description":"React Project to practice and showcase working with functional components, managing state with redux and redux toolkit, working with REST APIs, using NPM packages and animating React App.","archived":false,"fork":false,"pushed_at":"2024-09-30T11:13:37.000Z","size":2098,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T16:32:23.379Z","etag":null,"topics":["css3","forwardref","http-requests","reactanimations","redux","redux-toolkit","rest-api","usecallback-hook","useeffect-hook","usememo-hooks","usestate-hook"],"latest_commit_sha":null,"homepage":"https://sentvinsent.github.io/user-list-practice-project/","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/Sentvinsent.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-09-06T18:07:56.000Z","updated_at":"2024-09-30T11:49:15.000Z","dependencies_parsed_at":"2024-09-16T21:56:39.124Z","dependency_job_id":"d6145f67-46be-437b-8f9c-2f0a74eb50b4","html_url":"https://github.com/Sentvinsent/user-list-practice-project","commit_stats":null,"previous_names":["sentvinsent/user-list-practice-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sentvinsent/user-list-practice-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sentvinsent%2Fuser-list-practice-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sentvinsent%2Fuser-list-practice-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sentvinsent%2Fuser-list-practice-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sentvinsent%2Fuser-list-practice-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sentvinsent","download_url":"https://codeload.github.com/Sentvinsent/user-list-practice-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sentvinsent%2Fuser-list-practice-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31686140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["css3","forwardref","http-requests","reactanimations","redux","redux-toolkit","rest-api","usecallback-hook","useeffect-hook","usememo-hooks","usestate-hook"],"created_at":"2024-11-19T05:47:02.896Z","updated_at":"2026-04-11T15:36:51.816Z","avatar_url":"https://github.com/Sentvinsent.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# User list\n\nLive: https://sentvinsent.github.io/user-list-practice-project/\n\nThis project is a practice application built with React that allows users to add, edit, delete, and view a list of users. It includes the following features:\n\nClient-side Input Validation:\n\n- The form performs client-side input validation and displays appropriate error messages upon submission.\n- The list performs displays proper content or error message upon loading, adding, editing or deleting data.\n\nState Management:\n\n- The global state is managed using Redux Toolkit for practice purposes as it can be an overkill for smaller projects as the current one is.\n- The global state is updated based on the submission status to a database, depending on the execution of async thunks.\n- The useState hook is used for smaller local states.\n\nDatabase Connection:\n\n- Utilizes Wix REST API for database connection.\n- HTTP requests are handled using the fetch API.\n\nStyling:\n\n- Elements are rendered conditionally based on relevant state.\n- Uses 3rd party library for icons.\n- React Transition Group used to perform entrance and exit animations.\n- Styles are distributed per component utilizing CSS3 and CSS Modules.\n\nPerformance Optimizations:\n\n- Includes various hooks for performance optimizations, such as useCallback.\n\n## Running the Project Locally\n\nTo run this project locally:\n\n1. **Create a Wix Headless project (or use existing site)**:\n   https://dev.wix.com/docs/go-headless/getting-started/setup/general-setup/create-a-project\n\n2. **Create `Users` database (collection)**:\n   https://support.wix.com/en/article/cms-formerly-content-manager-creating-a-collection\n\nThe database must contain text field `userName` and number field `userAge`.\n\n3. **Get your API keys**:\n   https://dev.wix.com/docs/rest/articles/getting-started/api-keys\n\n4. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/Sentvinsent/user-app-exercise\n   cd user-app-exercise\n   ```\n\n5. **Install dependencies**:\n\n   ```bash\n   npm install\n   ```\n\n6. **Create a `.env` file** in the root directory and add the required environment variables as shown below:\n\n```bash\nREACT_APP_API_KEY=your_api_key\nREACT_APP_MSID=your_MSID\n```\n\nMake sure to replace `your_api_key`, and `your_MSID` with the actual values from step 3.\n\n4. **Run the project**:\n   ```bash\n   npm start\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentvinsent%2Fuser-list-practice-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsentvinsent%2Fuser-list-practice-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentvinsent%2Fuser-list-practice-project/lists"}