A simple note-taking app to be ran locally using docker to combine the app and postgres images to run
By Larren Canapi
- Ensure docker and docker-compose is installed correctly
- Have the repo downloaded and open a new terminal in the repo directory
- Call 'docker-compose up' in your terminal which will build the app image and pull a postgres image
- Navigate to localhost:8080 to see the app
- If running into issues, check that the environment variables are set correctly in docker-compose.yml
In a separate terminal and in the app directory:
- 'npm install' to install node_modules
- 'npm start' to run on localhost
- Make sure to run docker image of 'postgres' to connect to with the settings specified in docker-compose.yml
- 1 NodeJS Server Image that will service my front-end React note taking app and will listen to requests and will respond by querying our Postgres database image
- 1 Postgres Image that holds our database to hold all of our notes
- PERN STACK
- Postgres
- Express
- React
- Nodejs
- React Bootstrap https://react-bootstrap.github.io/
- Axios
- General References to React Documentation and React Hooks Documentation
- General References to React Bootstrap Documentation: https://react-bootstrap.github.io/
- General References to MDN Documentation for Javascript and CSS:
- In NoteList.js
- Referred and used the examples in the Bootstrap ListGroup Docs to make the note list
- Referred and used the examples in the Bootstrap Modal Docs to make the note modal
- In NoteForm.js
- Referred and used the examples in the Bootstrap Forms Docs to make the note form
- Referred and used the examples in the Bootstrap Form Validation Docs to get error handling correct and how forms work in React Bootstrap