This project is a blog application built using PostgreSQL, GraphQL, and Apollo Server.
- Add data loaders
- Add create endpoints
- Add update endpoints
- Add unit tests
- Create front end
To set up your development environment, follow these steps:
-
Create
.vscode
Folder: Create a.vscode
folder in the root of the project. -
Create
launch.json
File: Inside the.vscode
folder, create alaunch.json
file. -
Configure Launch Settings: Add the following configuration to your
launch.json
file:
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Run dev script with nodemon",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/nodemon",
"program": "${workspaceFolder}/index.js",
"restart": true,
"console": "integratedTerminal"
}
]
}
This configuration allows you to run the development script using nodemon, which automatically restarts the server when changes are detected.
To run the application, simply execute the development script. Changes to your code will be automatically reflected as the server restarts.
npm run dev
Contributions are welcome! Please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature:
git checkout -b feature-name
. - Make your changes and commit them:
git commit -m 'Add feature'
. - Push to the branch:
git push origin feature-name
. - Submit a pull request.
This project is licensed under the MIT License.
Karl Horning: