-
Notifications
You must be signed in to change notification settings - Fork 2
Feature appointments availability #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
ee73e31
setup the folder with config
EyobTilaye 8e9751c
feat: folders and files setup
lelisa21 a95b148
feat: logger added for console logging and cleanup
lelisa21 ef1b8bf
fix:ESLint installed to fix issue
lelisa21 5dd34a6
feat: ESLint initialized
lelisa21 c1e703d
feat: ESLint Initialized
lelisa21 5e157d9
fix: ESLint issue on browser vs node
lelisa21 50cf6ab
fix: ESLint issue fixed
lelisa21 66798cf
fix: eslint issue changed from MJS to EJS
lelisa21 8226734
ESLint
lelisa21 d4e2200
fix: jest installed for testing
lelisa21 cf7cb31
feat: helpers and database setup
lelisa21 ecfbcb3
feat: add appointments modules with models, controllers, services, va…
Zemedkunworkalem32 d6ce764
feat: add availability module (model, service, controller, routes, va…
Zemedkunworkalem32 2baf07f
add packages
Zemedkunworkalem32 9934bc3
feat: update appointments modules with models, controllers, services,…
Zemedkunworkalem32 8906d92
update availability.control
Zemedkunworkalem32 4a978df
update availability.model
Zemedkunworkalem32 08bf23b
update availability.routes
Zemedkunworkalem32 495d0e1
update availability.services
Zemedkunworkalem32 975084e
update .\availability.validation.js
Zemedkunworkalem32 e437303
update .\index.js
Zemedkunworkalem32 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Server | ||
| NODE_ENV=development | ||
| PORT= | ||
|
|
||
| # Database | ||
| MONGODB_URI= | ||
| MONGODB_URI_PROD= | ||
|
|
||
| # JWT | ||
| JWT_ACCESS_SECRET= | ||
| JWT_REFRESH_SECRET= | ||
| JWT_ACCESS_EXPIRY= | ||
| JWT_REFRESH_EXPIRY= | ||
|
|
||
| # Security | ||
| BCRYPT_ROUNDS= | ||
| RATE_LIMIT_WINDOW_MS= | ||
| RATE_LIMIT_MAX_REQUESTS= | ||
|
|
||
| # CORS | ||
| CORS_ORIGIN=http://localhost:3000 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| node_modules/ | ||
| .env* | ||
| .env | ||
| !.env.example | ||
|
|
||
| logs/ | ||
| *.log | ||
|
|
||
| dist/ | ||
| build/ | ||
|
|
||
| .vscode/ | ||
| .idea/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| const js = require("@eslint/js"); | ||
| const globals = require("globals"); | ||
| const { defineConfig } = require("eslint/config"); | ||
|
|
||
| module.exports = defineConfig([ | ||
| js.configs.recommended, | ||
| { | ||
| files: ["**/*.{js,mjs,cjs}"], | ||
| languageOptions: { | ||
| globals: globals.node, | ||
| }, | ||
| rules: { | ||
| "no-unused-vars": "warn", | ||
| "no-console": "off", | ||
| }, | ||
| }, | ||
| ]); |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MONGODB_URI_PRODis documented but not validated.MONGODB_URI_PRODis listed here but isn't defined inenv.config.js's schema. Either add it to the Zod schema if it's intended for use, or remove it from the example to avoid confusion.🤖 Prompt for AI Agents