This is a simple CRUD application built with C# and Vue.js. It allows users to create, read, update, and delete notes.
Before you begin, ensure you have met the following requirements:
- .NET Core SDK version 7.0 or later.
- Node.js and npm
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
git clone [email protected]:alialsawad/norlinq.git
cd norlinq
-
Navigate to the backend project directory:
cd LinqNotesApi
-
Restore the .NET dependencies:
dotnet restore
-
Build the project:
dotnet build
-
Run the backend server:
dotnet run
-
Navigate to the frontend project directory:
cd linq-notes-client
-
Install npm dependencies:
npm install
-
Serve the application:
npm run serve
- Retrieve All Notes: Send a GET request to
/api/notes
to fetch and display all notes. - Add a New Note: Use a POST request with note data to
/api/notes
to add a new note. - Update a Note: Send a PUT request with updated data to
/api/notes/{id}
to update a note. - Delete a Note: Use a DELETE request to
/api/notes/{id}
to remove a note.