Step-by-step guide to create a database with a table and run the project:
- Open your preferred database management tool and connect to the database server.
- Create a new database with the name
list_app
. - Inside the
list_app
database, create a new table nameditems
. - Add two columns to the
items
table:ID
andNAME
. - Set the
ID
column as the primary key and enable auto-increment to automatically generate a unique value for each new record. - Set the
NAME
column as avarchar
data type to store text values. - Save the changes to the table and exit the database management tool.
- Open your project in a code editor or IDE.
- In the terminal, navigate to the project directory.
- Run the command
npm start
to start the project.