File/Folder | Description |
---|---|
controllers |
Contains the logic for handling requests and responses. Acts as the intermediary between models and views (or API endpoints). |
database |
Contains database configuration files and scripts, including connection settings, migrations, and seed data. |
models |
Contains the data model definitions (schemas) for the application, defining the structure and interactions with the database. |
repositories |
Provides an abstraction layer over the data access logic, handling CRUD operations on the data models. |
routes |
Contains route definitions, mapping HTTP requests to the appropriate controller functions. |
.env |
Stores environment variables, including sensitive information like database credentials and API keys. |
.gitignore |
Specifies which files and directories to ignore in Git commits, typically including node_modules, logs, and environment files. |
package.json |
Contains metadata about the project, including dependencies, scripts, and configuration information. |
package-lock.json |
Automatically generated by npm to lock the versions of the project's dependencies, ensuring consistent installs. |
server.js |
Main entry point of the application, setting up the Express server, middleware, and route handling. |
-
Notifications
You must be signed in to change notification settings - Fork 0
dnthchung/SDN301m
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Server-Side development with NodeJS, Express, and MongoDB
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published