diff --git a/.github/workflows/backend-deploy-coverage-report.yaml b/.github/workflows/backend-deploy-coverage-report.yaml index 0ac267d..866b27b 100644 --- a/.github/workflows/backend-deploy-coverage-report.yaml +++ b/.github/workflows/backend-deploy-coverage-report.yaml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: insighthub-backend + working-directory: nextstep-backend steps: - name: Checkout uses: actions/checkout@v4 @@ -35,7 +35,7 @@ jobs: envkey_TOKEN_EXPIRATION: 30s envkey_REFRESH_TOKEN_SECRET: 2a955a8b802eab6c693ba116f5e1bc8d2d2cf5e5e83e579cecb3fc363fb077229a801e7392f348d3c370e2383169cab80f556421d3ec2186def5d36ed5a317b6 envkey_REFRESH_TOKEN_EXPIRATION: 1d - file_name: insighthub-backend/.env + file_name: nextstep-backend/.env fail_on_empty: true sort_keys: false - name: Start MongoDB @@ -56,7 +56,7 @@ jobs: if: always() uses: actions/upload-pages-artifact@v3 with: - path: 'insighthub-backend/coverage/lcov-report' + path: 'nextstep-backend/coverage/lcov-report' name: 'github-pages' - name: Deploy to GitHub Pages if: always() diff --git a/.github/workflows/backend-run-all-tests.yaml b/.github/workflows/backend-run-all-tests.yaml index e894f79..efacf24 100644 --- a/.github/workflows/backend-run-all-tests.yaml +++ b/.github/workflows/backend-run-all-tests.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: insighthub-backend + working-directory: nextstep-backend steps: - name: Checkout uses: actions/checkout@v4 @@ -25,7 +25,7 @@ jobs: envkey_REFRESH_TOKEN_SECRET: 2a955a8b802eab6c693ba116f5e1bc8d2d2cf5e5e83e579cecb3fc363fb077229a801e7392f348d3c370e2383169cab80f556421d3ec2186def5d36ed5a317b6 envkey_REFRESH_TOKEN_EXPIRATION: 1d envkey_CHAT_AI_TURNED_ON: false - file_name: insighthub-backend/.env + file_name: nextstep-backend/.env fail_on_empty: true sort_keys: false - name: Start MongoDB diff --git a/.github/workflows/frontend-run-build.yaml b/.github/workflows/frontend-run-build.yaml index 1dd3464..4a9acd0 100644 --- a/.github/workflows/frontend-run-build.yaml +++ b/.github/workflows/frontend-run-build.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: insighthub-frontend + working-directory: nextstep-frontend steps: - name: Checkout uses: actions/checkout@v4 @@ -20,7 +20,7 @@ jobs: with: envkey_VITE_PORT: 5000 envkey_VITE_BACKEND_URL: http://localhost:3000 - file_name: insighthub-frontend/.env + file_name: nextstep-frontend/.env fail_on_empty: true sort_keys: false - uses: actions/setup-node@v4 diff --git a/.vscode/launch.json b/.vscode/launch.json index 7be9c10..efcaee0 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,21 +9,21 @@ "name": "Backend: Run Script: dev", "request": "launch", "command": "npm run dev", - "cwd": "${workspaceFolder}\\insighthub-backend" + "cwd": "${workspaceFolder}\\nextstep-backend" }, { "type": "node-terminal", "name": "Backend: Run Script: test", "request": "launch", "command": "npm run test", - "cwd": "${workspaceFolder}\\insighthub-backend" + "cwd": "${workspaceFolder}\\nextstep-backend" }, { "type": "node-terminal", "name": "Frontend: Run Script: dev", "request": "launch", "command": "npm run dev", - "cwd": "${workspaceFolder}\\insighthub-frontend" + "cwd": "${workspaceFolder}\\nextstep-frontend" } ] } \ No newline at end of file diff --git a/insighthub-backend/.env.template b/nextstep-backend/.env.template similarity index 100% rename from insighthub-backend/.env.template rename to nextstep-backend/.env.template diff --git a/insighthub-backend/.gitignore b/nextstep-backend/.gitignore similarity index 100% rename from insighthub-backend/.gitignore rename to nextstep-backend/.gitignore diff --git a/insighthub-backend/README.md b/nextstep-backend/README.md similarity index 65% rename from insighthub-backend/README.md rename to nextstep-backend/README.md index 8e06a5f..ff2e4b8 100644 --- a/insighthub-backend/README.md +++ b/nextstep-backend/README.md @@ -1,32 +1,32 @@ -# InsightHub Backend +# NextStep Backend ## Git Subtree -This `insighthub-backend` directory was initialized by cloning [`colman-advanced-web-apps`](https://github.com/taljacob2/colman-advanced-web-apps) repository as a [git subtree](https://www.atlassian.com/git/tutorials/git-subtree), by running the following command: +This `nextstep-backend` directory was initialized by cloning [`colman-advanced-web-apps`](https://github.com/taljacob2/colman-advanced-web-apps) repository as a [git subtree](https://www.atlassian.com/git/tutorials/git-subtree), by running the following command: ``` cd .. -git subtree add -P insighthub-backend https://github.com/taljacob2/colman-advanced-web-apps master --squash +git subtree add -P nextstep-backend https://github.com/taljacob2/colman-advanced-web-apps master --squash ``` ### Check For Updates From [`colman-advanced-web-apps`](https://github.com/taljacob2/colman-advanced-web-apps) Repository -To upgrade the existing backend with the most recent version available in the [`colman-advanced-web-apps`](https://github.com/taljacob2/colman-advanced-web-apps) repository, merge it into this `insighthub-backend` directory: +To upgrade the existing backend with the most recent version available in the [`colman-advanced-web-apps`](https://github.com/taljacob2/colman-advanced-web-apps) repository, merge it into this `nextstep-backend` directory: ``` cd .. -git subtree pull -P insighthub-backend https://github.com/taljacob2/colman-advanced-web-apps master --squash +git subtree pull -P nextstep-backend https://github.com/taljacob2/colman-advanced-web-apps master --squash ``` ## Prerequisites ### Configure Environment -1. As a **requirement** for running the application, create an `.env` file in the `insighthub-backend` working directory. Copy the content of the [.env.template](/insighthub-backend/.env.template) file to your newly created `.env` file. Define the environment variables there. +1. As a **requirement** for running the application, create an `.env` file in the `nextstep-backend` working directory. Copy the content of the [.env.template](/nextstep-backend/.env.template) file to your newly created `.env` file. Define the environment variables there. 1. Edit the values of the properties to match your environment. - > In case you want to run a docker environment, see our guide for [how to setup a docker environment](/insighthub-backend/docs/mongodb/mongodb-via-docker.md). + > In case you want to run a docker environment, see our guide for [how to setup a docker environment](/nextstep-backend/docs/mongodb/mongodb-via-docker.md). ## `.env` @@ -78,7 +78,7 @@ You can set the NUMBER and the TIME_UNIT to your liking. Determines the expiration time for the authentication refresh token. -You should define it in the same way as [`TOKEN_EXPIRATION`](https://github.com/Lina0Elman/InsightHub?tab=readme-ov-file#token_expiration). +You should define it in the same way as [`TOKEN_EXPIRATION`](https://github.com/NextStepFinalProject/NextStep?tab=readme-ov-file#token_expiration). ## Usage @@ -108,10 +108,10 @@ Run tests: npm run test ``` -See our `main` test coverage at https://Lina0Elman.github.io/InsightHub +See our `main` test coverage at https://NextStepFinalProject.github.io/NextStep ## Documentation See the Swagger documentation in the `/api-docs` route. -See more docs [here](/insighthub-backend/docs). \ No newline at end of file +See more docs [here](/nextstep-backend/docs). \ No newline at end of file diff --git a/insighthub-backend/babel.config.js b/nextstep-backend/babel.config.js similarity index 100% rename from insighthub-backend/babel.config.js rename to nextstep-backend/babel.config.js diff --git a/insighthub-backend/docker-compose.yaml b/nextstep-backend/docker-compose.yaml similarity index 100% rename from insighthub-backend/docker-compose.yaml rename to nextstep-backend/docker-compose.yaml diff --git a/insighthub-backend/docs/mongodb/mongodb-via-docker.md b/nextstep-backend/docs/mongodb/mongodb-via-docker.md similarity index 86% rename from insighthub-backend/docs/mongodb/mongodb-via-docker.md rename to nextstep-backend/docs/mongodb/mongodb-via-docker.md index a706e34..02b51d2 100644 --- a/insighthub-backend/docs/mongodb/mongodb-via-docker.md +++ b/nextstep-backend/docs/mongodb/mongodb-via-docker.md @@ -20,14 +20,14 @@ Also, within a network, you can refer one container to another, to depend on eac To use the `docker-compose` command you require a `docker-compose.yaml` file, for it to read the network configuration you want it to establish. -We have pre-made a [`docker-compose.yaml`](/insighthub-backend/docker-compose.yaml) file for you to use, +We have pre-made a [`docker-compose.yaml`](/nextstep-backend/docker-compose.yaml) file for you to use, that spins up local [mongodb](https://hub.docker.com/_/mongo) (DB) and [mongo-express](https://hub.docker.com/_/mongo-express) (UI) containers via docker. ## Usage -### Update Your [`.env`](/insighthub-backend/.env) File For [`docker-compose.yaml`](/insighthub-backend/docker-compose.yaml) +### Update Your [`.env`](/nextstep-backend/.env) File For [`docker-compose.yaml`](/nextstep-backend/docker-compose.yaml) -Before using [`docker-compose.yaml`](/insighthub-backend/docker-compose.yaml), you need to navigate to your [`.env`](/insighthub-backend/.env) file, +Before using [`docker-compose.yaml`](/nextstep-backend/docker-compose.yaml), you need to navigate to your [`.env`](/nextstep-backend/.env) file, and update it by adding the following properties: ``` @@ -64,7 +64,7 @@ DB_UI_LOCAL_PORT=8061 ``` ### OPTIONAL: Run Raw Queries From `mongosh` You may run raw queries for mongodb, via the `mongosh` of the `mongodb` container. -Once you `docker-compose up -d` this [`docker-compose.yaml`](/insighthub-backend/docker-compose.yaml) file, +Once you `docker-compose up -d` this [`docker-compose.yaml`](/nextstep-backend/docker-compose.yaml) file, and the `mongodb` container is running, then execute the following commands: View all the running containers: ``` diff --git a/insighthub-backend/eslint.config.mjs b/nextstep-backend/eslint.config.mjs similarity index 100% rename from insighthub-backend/eslint.config.mjs rename to nextstep-backend/eslint.config.mjs diff --git a/insighthub-backend/jest.config.ts b/nextstep-backend/jest.config.ts similarity index 100% rename from insighthub-backend/jest.config.ts rename to nextstep-backend/jest.config.ts diff --git a/insighthub-backend/package.json b/nextstep-backend/package.json similarity index 88% rename from insighthub-backend/package.json rename to nextstep-backend/package.json index 78cf194..a1e3ccb 100644 --- a/insighthub-backend/package.json +++ b/nextstep-backend/package.json @@ -1,7 +1,7 @@ { "name": "ex", "version": "1.0.0", - "description": "InsightHub Backend", + "description": "NextStep Backend", "main": "src/server.ts", "scripts": { "start": "tsc && node ./dist/server.js", @@ -11,14 +11,14 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/Lina0Elman/InsightHub.git" + "url": "git+https://github.com/NextStepFinalProject/NextStep.git" }, "author": "Mevorah Berrebi & Tal Jacob & Lina Elman & Liav Tibi", "license": "ISC", "bugs": { - "url": "https://github.com/Lina0Elman/InsightHub/issues" + "url": "https://github.com/NextStepFinalProject/NextStep/issues" }, - "homepage": "https://github.com/Lina0Elman/InsightHub#readme", + "homepage": "https://github.com/NextStepFinalProject/NextStep#readme", "dependencies": { "bcrypt": "^5.1.1", "body-parser": "^1.20.3", diff --git a/insighthub-backend/src/app.ts b/nextstep-backend/src/app.ts similarity index 100% rename from insighthub-backend/src/app.ts rename to nextstep-backend/src/app.ts diff --git a/insighthub-backend/src/config/config.ts b/nextstep-backend/src/config/config.ts similarity index 100% rename from insighthub-backend/src/config/config.ts rename to nextstep-backend/src/config/config.ts diff --git a/insighthub-backend/src/config/db.ts b/nextstep-backend/src/config/db.ts similarity index 100% rename from insighthub-backend/src/config/db.ts rename to nextstep-backend/src/config/db.ts diff --git a/insighthub-backend/src/controllers/auth_controller.ts b/nextstep-backend/src/controllers/auth_controller.ts similarity index 100% rename from insighthub-backend/src/controllers/auth_controller.ts rename to nextstep-backend/src/controllers/auth_controller.ts diff --git a/insighthub-backend/src/controllers/comments_controller.ts b/nextstep-backend/src/controllers/comments_controller.ts similarity index 100% rename from insighthub-backend/src/controllers/comments_controller.ts rename to nextstep-backend/src/controllers/comments_controller.ts diff --git a/insighthub-backend/src/controllers/posts_controller.ts b/nextstep-backend/src/controllers/posts_controller.ts similarity index 100% rename from insighthub-backend/src/controllers/posts_controller.ts rename to nextstep-backend/src/controllers/posts_controller.ts diff --git a/insighthub-backend/src/controllers/resources_controller.ts b/nextstep-backend/src/controllers/resources_controller.ts similarity index 100% rename from insighthub-backend/src/controllers/resources_controller.ts rename to nextstep-backend/src/controllers/resources_controller.ts diff --git a/insighthub-backend/src/controllers/rooms_controller.ts b/nextstep-backend/src/controllers/rooms_controller.ts similarity index 100% rename from insighthub-backend/src/controllers/rooms_controller.ts rename to nextstep-backend/src/controllers/rooms_controller.ts diff --git a/insighthub-backend/src/controllers/users_controller.ts b/nextstep-backend/src/controllers/users_controller.ts similarity index 100% rename from insighthub-backend/src/controllers/users_controller.ts rename to nextstep-backend/src/controllers/users_controller.ts diff --git a/insighthub-backend/src/docs/swagger_options.ts b/nextstep-backend/src/docs/swagger_options.ts similarity index 100% rename from insighthub-backend/src/docs/swagger_options.ts rename to nextstep-backend/src/docs/swagger_options.ts diff --git a/insighthub-backend/src/middleware/auth.ts b/nextstep-backend/src/middleware/auth.ts similarity index 100% rename from insighthub-backend/src/middleware/auth.ts rename to nextstep-backend/src/middleware/auth.ts diff --git a/insighthub-backend/src/middleware/socket_auth.ts b/nextstep-backend/src/middleware/socket_auth.ts similarity index 100% rename from insighthub-backend/src/middleware/socket_auth.ts rename to nextstep-backend/src/middleware/socket_auth.ts diff --git a/insighthub-backend/src/middleware/validateUser.ts b/nextstep-backend/src/middleware/validateUser.ts similarity index 93% rename from insighthub-backend/src/middleware/validateUser.ts rename to nextstep-backend/src/middleware/validateUser.ts index 3ca9460..8ec497e 100644 --- a/insighthub-backend/src/middleware/validateUser.ts +++ b/nextstep-backend/src/middleware/validateUser.ts @@ -1,4 +1,4 @@ -// insighthub-backend/src/middleware/validateUser.ts +// nextstep-backend/src/middleware/validateUser.ts import { Response, NextFunction } from 'express'; import {CustomRequest} from "types/customRequest"; import {unless} from "express-unless"; diff --git a/insighthub-backend/src/middleware/validation.ts b/nextstep-backend/src/middleware/validation.ts similarity index 100% rename from insighthub-backend/src/middleware/validation.ts rename to nextstep-backend/src/middleware/validation.ts diff --git a/insighthub-backend/src/models/Blacklisted_token_model.ts b/nextstep-backend/src/models/Blacklisted_token_model.ts similarity index 100% rename from insighthub-backend/src/models/Blacklisted_token_model.ts rename to nextstep-backend/src/models/Blacklisted_token_model.ts diff --git a/insighthub-backend/src/models/comments_model.ts b/nextstep-backend/src/models/comments_model.ts similarity index 100% rename from insighthub-backend/src/models/comments_model.ts rename to nextstep-backend/src/models/comments_model.ts diff --git a/insighthub-backend/src/models/like_model.ts b/nextstep-backend/src/models/like_model.ts similarity index 100% rename from insighthub-backend/src/models/like_model.ts rename to nextstep-backend/src/models/like_model.ts diff --git a/insighthub-backend/src/models/message_model.ts b/nextstep-backend/src/models/message_model.ts similarity index 100% rename from insighthub-backend/src/models/message_model.ts rename to nextstep-backend/src/models/message_model.ts diff --git a/insighthub-backend/src/models/posts_model.ts b/nextstep-backend/src/models/posts_model.ts similarity index 100% rename from insighthub-backend/src/models/posts_model.ts rename to nextstep-backend/src/models/posts_model.ts diff --git a/insighthub-backend/src/models/refresh_token_model.ts b/nextstep-backend/src/models/refresh_token_model.ts similarity index 100% rename from insighthub-backend/src/models/refresh_token_model.ts rename to nextstep-backend/src/models/refresh_token_model.ts diff --git a/insighthub-backend/src/models/room_model.ts b/nextstep-backend/src/models/room_model.ts similarity index 100% rename from insighthub-backend/src/models/room_model.ts rename to nextstep-backend/src/models/room_model.ts diff --git a/insighthub-backend/src/models/user_model.ts b/nextstep-backend/src/models/user_model.ts similarity index 100% rename from insighthub-backend/src/models/user_model.ts rename to nextstep-backend/src/models/user_model.ts diff --git a/insighthub-backend/src/openapi/openapi_loader.ts b/nextstep-backend/src/openapi/openapi_loader.ts similarity index 100% rename from insighthub-backend/src/openapi/openapi_loader.ts rename to nextstep-backend/src/openapi/openapi_loader.ts diff --git a/insighthub-backend/src/openapi/swagger.yaml b/nextstep-backend/src/openapi/swagger.yaml similarity index 99% rename from insighthub-backend/src/openapi/swagger.yaml rename to nextstep-backend/src/openapi/swagger.yaml index db75286..19411c1 100644 --- a/insighthub-backend/src/openapi/swagger.yaml +++ b/nextstep-backend/src/openapi/swagger.yaml @@ -1,6 +1,6 @@ openapi: 3.0.1 info: - title: InsightHub API + title: NextStep API description: API for managing all the abilities. version: 1.0.0 diff --git a/insighthub-backend/src/request.rest b/nextstep-backend/src/request.rest similarity index 100% rename from insighthub-backend/src/request.rest rename to nextstep-backend/src/request.rest diff --git a/insighthub-backend/src/routes/auth_routes.ts b/nextstep-backend/src/routes/auth_routes.ts similarity index 100% rename from insighthub-backend/src/routes/auth_routes.ts rename to nextstep-backend/src/routes/auth_routes.ts diff --git a/insighthub-backend/src/routes/comments_routes.ts b/nextstep-backend/src/routes/comments_routes.ts similarity index 100% rename from insighthub-backend/src/routes/comments_routes.ts rename to nextstep-backend/src/routes/comments_routes.ts diff --git a/insighthub-backend/src/routes/posts_routes.ts b/nextstep-backend/src/routes/posts_routes.ts similarity index 100% rename from insighthub-backend/src/routes/posts_routes.ts rename to nextstep-backend/src/routes/posts_routes.ts diff --git a/insighthub-backend/src/routes/resources_routes.ts b/nextstep-backend/src/routes/resources_routes.ts similarity index 100% rename from insighthub-backend/src/routes/resources_routes.ts rename to nextstep-backend/src/routes/resources_routes.ts diff --git a/insighthub-backend/src/routes/rooms_routes.ts b/nextstep-backend/src/routes/rooms_routes.ts similarity index 100% rename from insighthub-backend/src/routes/rooms_routes.ts rename to nextstep-backend/src/routes/rooms_routes.ts diff --git a/insighthub-backend/src/routes/users_routes.ts b/nextstep-backend/src/routes/users_routes.ts similarity index 100% rename from insighthub-backend/src/routes/users_routes.ts rename to nextstep-backend/src/routes/users_routes.ts diff --git a/insighthub-backend/src/server.ts b/nextstep-backend/src/server.ts similarity index 100% rename from insighthub-backend/src/server.ts rename to nextstep-backend/src/server.ts diff --git a/insighthub-backend/src/services/__mocks__/chat_api_service.ts b/nextstep-backend/src/services/__mocks__/chat_api_service.ts similarity index 100% rename from insighthub-backend/src/services/__mocks__/chat_api_service.ts rename to nextstep-backend/src/services/__mocks__/chat_api_service.ts diff --git a/insighthub-backend/src/services/chat_api_service.ts b/nextstep-backend/src/services/chat_api_service.ts similarity index 100% rename from insighthub-backend/src/services/chat_api_service.ts rename to nextstep-backend/src/services/chat_api_service.ts diff --git a/insighthub-backend/src/services/comments_service.ts b/nextstep-backend/src/services/comments_service.ts similarity index 100% rename from insighthub-backend/src/services/comments_service.ts rename to nextstep-backend/src/services/comments_service.ts diff --git a/insighthub-backend/src/services/posts_service.ts b/nextstep-backend/src/services/posts_service.ts similarity index 100% rename from insighthub-backend/src/services/posts_service.ts rename to nextstep-backend/src/services/posts_service.ts diff --git a/insighthub-backend/src/services/resources_service.ts b/nextstep-backend/src/services/resources_service.ts similarity index 100% rename from insighthub-backend/src/services/resources_service.ts rename to nextstep-backend/src/services/resources_service.ts diff --git a/insighthub-backend/src/services/socket_service.ts b/nextstep-backend/src/services/socket_service.ts similarity index 100% rename from insighthub-backend/src/services/socket_service.ts rename to nextstep-backend/src/services/socket_service.ts diff --git a/insighthub-backend/src/services/users_service.ts b/nextstep-backend/src/services/users_service.ts similarity index 100% rename from insighthub-backend/src/services/users_service.ts rename to nextstep-backend/src/services/users_service.ts diff --git a/insighthub-backend/src/tests/auth_controller.test.ts b/nextstep-backend/src/tests/auth_controller.test.ts similarity index 100% rename from insighthub-backend/src/tests/auth_controller.test.ts rename to nextstep-backend/src/tests/auth_controller.test.ts diff --git a/insighthub-backend/src/tests/auth_status_codes.test.ts b/nextstep-backend/src/tests/auth_status_codes.test.ts similarity index 100% rename from insighthub-backend/src/tests/auth_status_codes.test.ts rename to nextstep-backend/src/tests/auth_status_codes.test.ts diff --git a/insighthub-backend/src/tests/comments_controller.test.ts b/nextstep-backend/src/tests/comments_controller.test.ts similarity index 100% rename from insighthub-backend/src/tests/comments_controller.test.ts rename to nextstep-backend/src/tests/comments_controller.test.ts diff --git a/insighthub-backend/src/tests/openapi.test.ts b/nextstep-backend/src/tests/openapi.test.ts similarity index 100% rename from insighthub-backend/src/tests/openapi.test.ts rename to nextstep-backend/src/tests/openapi.test.ts diff --git a/insighthub-backend/src/tests/posts_controller.test.ts b/nextstep-backend/src/tests/posts_controller.test.ts similarity index 100% rename from insighthub-backend/src/tests/posts_controller.test.ts rename to nextstep-backend/src/tests/posts_controller.test.ts diff --git a/insighthub-backend/src/tests/resources_service.test.ts b/nextstep-backend/src/tests/resources_service.test.ts similarity index 100% rename from insighthub-backend/src/tests/resources_service.test.ts rename to nextstep-backend/src/tests/resources_service.test.ts diff --git a/insighthub-backend/src/tests/rooms_controller.test.ts b/nextstep-backend/src/tests/rooms_controller.test.ts similarity index 100% rename from insighthub-backend/src/tests/rooms_controller.test.ts rename to nextstep-backend/src/tests/rooms_controller.test.ts diff --git a/insighthub-backend/src/tests/setup-tests.ts b/nextstep-backend/src/tests/setup-tests.ts similarity index 100% rename from insighthub-backend/src/tests/setup-tests.ts rename to nextstep-backend/src/tests/setup-tests.ts diff --git a/insighthub-backend/src/tests/users_routes.test.ts b/nextstep-backend/src/tests/users_routes.test.ts similarity index 100% rename from insighthub-backend/src/tests/users_routes.test.ts rename to nextstep-backend/src/tests/users_routes.test.ts diff --git a/insighthub-backend/src/types/comment_types.ts b/nextstep-backend/src/types/comment_types.ts similarity index 100% rename from insighthub-backend/src/types/comment_types.ts rename to nextstep-backend/src/types/comment_types.ts diff --git a/insighthub-backend/src/types/customRequest.ts b/nextstep-backend/src/types/customRequest.ts similarity index 100% rename from insighthub-backend/src/types/customRequest.ts rename to nextstep-backend/src/types/customRequest.ts diff --git a/insighthub-backend/src/types/post_types.ts b/nextstep-backend/src/types/post_types.ts similarity index 100% rename from insighthub-backend/src/types/post_types.ts rename to nextstep-backend/src/types/post_types.ts diff --git a/insighthub-backend/src/types/user_types.ts b/nextstep-backend/src/types/user_types.ts similarity index 100% rename from insighthub-backend/src/types/user_types.ts rename to nextstep-backend/src/types/user_types.ts diff --git a/insighthub-backend/src/types/validation_errors.ts b/nextstep-backend/src/types/validation_errors.ts similarity index 100% rename from insighthub-backend/src/types/validation_errors.ts rename to nextstep-backend/src/types/validation_errors.ts diff --git a/insighthub-backend/src/utils/handle_error.ts b/nextstep-backend/src/utils/handle_error.ts similarity index 100% rename from insighthub-backend/src/utils/handle_error.ts rename to nextstep-backend/src/utils/handle_error.ts diff --git a/insighthub-backend/tsconfig.json b/nextstep-backend/tsconfig.json similarity index 100% rename from insighthub-backend/tsconfig.json rename to nextstep-backend/tsconfig.json diff --git a/insighthub-frontend/.env.template b/nextstep-frontend/.env.template similarity index 100% rename from insighthub-frontend/.env.template rename to nextstep-frontend/.env.template diff --git a/insighthub-frontend/.gitignore b/nextstep-frontend/.gitignore similarity index 100% rename from insighthub-frontend/.gitignore rename to nextstep-frontend/.gitignore diff --git a/insighthub-frontend/README.md b/nextstep-frontend/README.md similarity index 96% rename from insighthub-frontend/README.md rename to nextstep-frontend/README.md index 455d09e..b618a7a 100644 --- a/insighthub-frontend/README.md +++ b/nextstep-frontend/README.md @@ -1,4 +1,4 @@ -# InsightHub Frontend +# NextStep Frontend ## Usage diff --git a/insighthub-frontend/eslint.config.js b/nextstep-frontend/eslint.config.js similarity index 100% rename from insighthub-frontend/eslint.config.js rename to nextstep-frontend/eslint.config.js diff --git a/insighthub-frontend/index.html b/nextstep-frontend/index.html similarity index 91% rename from insighthub-frontend/index.html rename to nextstep-frontend/index.html index f0d141f..551e409 100644 --- a/insighthub-frontend/index.html +++ b/nextstep-frontend/index.html @@ -4,7 +4,7 @@ -