{"id":26038322,"url":"https://github.com/juniorreisx/backts","last_synced_at":"2026-04-13T00:16:03.336Z","repository":{"id":280359975,"uuid":"941727358","full_name":"JuniorReisx/BackTS","owner":"JuniorReisx","description":"Backend with TypeScript, Express, and Sequelize, connected to PostgreSQL on Supabase. Provides a scalable and secure RESTful API with CRUD operations, designed for easy environment configuration and database management.","archived":false,"fork":false,"pushed_at":"2025-03-03T00:10:31.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T01:20:55.733Z","etag":null,"topics":["cors","dotenv","express","jsonwebtoken","pg-hstore","postgresql","sequelize","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/JuniorReisx.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":"2025-03-03T00:04:35.000Z","updated_at":"2025-03-03T00:10:35.000Z","dependencies_parsed_at":"2025-03-03T01:21:09.171Z","dependency_job_id":"f1596415-776d-4841-b103-a267d550e6f1","html_url":"https://github.com/JuniorReisx/BackTS","commit_stats":null,"previous_names":["juniorreisx/backts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuniorReisx%2FBackTS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuniorReisx%2FBackTS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuniorReisx%2FBackTS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuniorReisx%2FBackTS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuniorReisx","download_url":"https://codeload.github.com/JuniorReisx/BackTS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242361836,"owners_count":20115411,"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":["cors","dotenv","express","jsonwebtoken","pg-hstore","postgresql","sequelize","typescript"],"created_at":"2025-03-07T09:14:20.424Z","updated_at":"2026-04-13T00:16:03.075Z","avatar_url":"https://github.com/JuniorReisx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backend TypeScript\n\n## Description\n\nBackend with **TypeScript**, **Express**, and **Sequelize**, connected to **PostgreSQL** on **Supabase**. Provides a scalable and secure RESTful API with **CRUD** operations, designed for easy environment configuration and database management.\n\n## Features\n\n- **CRUD** operations for managing users.\n- **Environment variables** for easy configuration.\n- **Supabase** for database hosting and management.\n- **TypeScript** for type safety.\n- **Sequelize** as an ORM to interact with the PostgreSQL database.\n- **CORS** handling for cross-origin requests.\n- **JWT authentication** for secure access.\n\n## Installation\n\n### Prerequisites\n\n- Node.js (preferably the latest LTS version).\n- PostgreSQL database (hosted on Supabase or locally).\n\n### Steps\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/your-username/your-repository.git\n    cd your-repository\n    ```\n\n2. Install dependencies:\n\n    ```bash\n    npm install\n    ```\n\n3. Create a `.env` file in the root of the project and add the following environment variables:\n\n    ```env\n    DATABASE_URL='your-database-url'\n    PORT='your-port'\n    JWT_SECRET='your-secret-key'\n    ```\n\n4. Run the project:\n\n    ```bash\n    npm start\n    ```\n\n## Scripts\n\n- `npm run start`: Compiles TypeScript and starts the server.\n- `npm run dev`: Runs the server in development mode with `nodemon` for auto-reloading.\n- `npm run build`: Compiles TypeScript into JavaScript.\n\n## Routes\n\n- **POST** `/person`: Create a new person.\n- **GET** `/people`: Get all people.\n- **GET** `/person/:id`: Get a person by ID.\n- **PUT** `/person/:id`: Update a person by ID.\n- **DELETE** `/person/:id`: Delete a person by ID.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuniorreisx%2Fbackts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuniorreisx%2Fbackts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuniorreisx%2Fbackts/lists"}