https://github.com/khaouitiabdelhakim/notesapp-react-nodejs-posgresql
https://github.com/khaouitiabdelhakim/notesapp-react-nodejs-posgresql
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/khaouitiabdelhakim/notesapp-react-nodejs-posgresql
- Owner: khaouitiabdelhakim
- Created: 2024-01-05T18:32:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-05T18:38:08.000Z (almost 2 years ago)
- Last Synced: 2025-06-11T13:14:01.233Z (4 months ago)
- Language: JavaScript
- Size: 361 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Note App
This is a simple note app built using React for the frontend, Node.js for the backend, and PostgreSQL for the database.

## Usage
### Setting up the Database
1. Create a PostgreSQL database using PG Admin or the CLI.
```bash
createdb -U postgres todo
```2. Create a table named 'notes' in the PostgreSQL database.
```sql
CREATE TABLE IF NOT EXISTS notes (
id SERIAL PRIMARY KEY,
title VARCHAR(255) NOT NULL,
content TEXT
);
```### Installation
1. Install dependencies for both the server and the client.
```bash
npm run build
```2. Start the server.
```bash
npm run start-server
```3. Start the client.
```bash
npm run start-client
```4. Open your browser and go to `http://localhost:3000` to use the Note App.
## Contributing
Feel free to contribute by opening issues or creating pull requests.