diff --git a/.env.example b/.env.example index 23a74e61b..433f21366 100644 --- a/.env.example +++ b/.env.example @@ -1,30 +1,22 @@ +# Example Environment Variables + # Server Configuration -NODE_ENV=development -PORT=3000 -HOST=0.0.0.0 +SERVER_HOST=0.0.0.0 +SERVER_PORT=8000 # Database Configuration -DATABASE_URL=mongodb://localhost:27017/codepark DB_HOST=localhost -DB_PORT=27017 -DB_NAME=codepark -DB_USER= -DB_PASSWORD= - -# Redis Configuration -REDIS_HOST=localhost -REDIS_PORT=6379 -REDIS_PASSWORD= +DB_PORT=5432 +DB_USER=username +DB_PASSWORD=password +DB_NAME=database_name -# JWT Configuration -JWT_SECRET=your-super-secret-jwt-key-must-be-at-least-32-characters-long!!! -JWT_ACCESS_EXPIRY=15m -JWT_REFRESH_EXPIRY=7d +# API Keys +API_KEY=your_api_key_here -# Logging -LOG_LEVEL=info -LOG_FORMAT=json +# Email Configuration +EMAIL_USER=email@example.com +EMAIL_PASSWORD=password -# Security -RATE_LIMIT_WINDOW=900000 -RATE_LIMIT_MAX_REQUESTS=100 +# Debugging settings +debug_mode=False diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..f2f6a0258 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,26 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +## [Unreleased] + +## [1.0.0] - 2026-03-28 +### Added +- Initial release of CodePark with core features. + +### Changed +- Improved overall performance of the application. + +### Fixed +- Resolved issues with user authentication. + +## [0.1.0] - 2026-03-01 +### Added +- Basic structure of the application created. +- User registration functionality introduced. + +### Changed +- Updated project dependencies to latest versions. + +### Fixed +- Minor bugs in the user interface with old browsers. \ No newline at end of file diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000000000..ff2d2158e --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,39 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge +We as members, contributors, and leaders commit to making participation in our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, inclusive, and healthy community. + +## Our Standards +Examples of behavior that contributes to a positive environment for our community include: + +- Demonstrating empathy and kindness toward other people +- Being respectful of differing opinions, viewpoints, and experiences +- Giving and gracefully accepting constructive feedback +- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience +- Focusing on what is best not just for us as individuals, but for the overall community + +Examples of unacceptable behavior include: + +- The use of sexualized language or imagery, and sexual attention or advances of any kind +- Trolling, insulting or derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or email address, without their explicit permission +- Other conduct which could reasonably be considered inappropriate in a professional setting + +## Enforcement Responsibilities +Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to instances of unacceptable behavior. + +Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate. + +## Scope +This Code of Conduct applies both within community spaces and in public spaces when an individual is representing the community. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. + +## Enforcement +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the community leaders. All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the reporter of any incident. + +## Acknowledgement +This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/), version 2.0, available at https://www.contributor-covenant.org/version/2.0/. \ No newline at end of file