{"id":15141798,"url":"https://github.com/frnn4268/docker-sern-fullstack","last_synced_at":"2026-01-07T04:33:32.832Z","repository":{"id":249895203,"uuid":"832874352","full_name":"Frnn4268/docker-SERN-fullstack","owner":"Frnn4268","description":"This repository contains a fullstack SERN and Docker content.","archived":false,"fork":false,"pushed_at":"2024-07-23T23:36:19.000Z","size":326,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T08:02:29.289Z","etag":null,"topics":["docker","docker-compose","docker-image","dockerfile","nodejs","react","sqlserver-2019"],"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/Frnn4268.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-07-23T22:46:22.000Z","updated_at":"2024-11-27T21:21:19.000Z","dependencies_parsed_at":"2024-07-24T02:38:40.235Z","dependency_job_id":null,"html_url":"https://github.com/Frnn4268/docker-SERN-fullstack","commit_stats":null,"previous_names":["frnn4268/docker-sern-fullstack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frnn4268%2Fdocker-SERN-fullstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frnn4268%2Fdocker-SERN-fullstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frnn4268%2Fdocker-SERN-fullstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frnn4268%2Fdocker-SERN-fullstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Frnn4268","download_url":"https://codeload.github.com/Frnn4268/docker-SERN-fullstack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245768271,"owners_count":20668990,"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":["docker","docker-compose","docker-image","dockerfile","nodejs","react","sqlserver-2019"],"created_at":"2024-09-26T09:02:06.452Z","updated_at":"2026-01-07T04:33:32.787Z","avatar_url":"https://github.com/Frnn4268.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js and React Project with Docker\n\nThis project includes a Node.js backend application with Sequelize and a React frontend application. Both projects are configured to work together using Docker and Docker Compose.\n\n## Project Structure\n\n- `server/` - Contains the Node.js backend application.\n- `client/` - Contains the React frontend application.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n- [Docker](https://docs.docker.com/get-docker/)\n- [Docker Compose](https://docs.docker.com/compose/install/)\n\n## Setup\n\n### 1. Backend Configuration (Node.js)\n\n1. **Configure the `.env` File**\n\n   Create a `.env` file in the root of the backend project with the following variables:\n  \n   \u003e DB_USER=your_username\n\n   \u003e DB_PASSWORD=your_password\n\n   \u003e DB_SERVER=sqlserver\n\n   \u003e DB_NAME=your_database\n\n2. **Build and Run Containers**\n   \n   Navigate to the backend project folder:\n\n   `cd server`\n\n   Then, build and run the containers using Docker Compose:\n\n   `docker-compose build`\n\n   `docker-compose up`\n\nThis will start the backend application and the SQL Server container.\n\n### 2. Frontend Configuration (React)\n1. **Configure Environment Variables**\nCreate a .env file in the root of the frontend project with the following variable:\n\n   \u003e REACT_APP_API_URL=http://localhost:PORT/api\n\nEnsure the URL matches the backend exposed by Docker.\n\n2. **Build and Run the React Application**\n   \n   Navigate to the frontend project folder:\n\n   `cd client`\n\n   Then, build and run the React application using Docker Compose:\n\n   `docker-compose build`\n\n   `docker-compose up`\n\nThe React application will be available at http://localhost:3000.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrnn4268%2Fdocker-sern-fullstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrnn4268%2Fdocker-sern-fullstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrnn4268%2Fdocker-sern-fullstack/lists"}