Skip to content

Krapic/Diary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diary Web Application

This is a Diary Web Application developed using ASP.NET Core. The application allows users to create, read, update, and delete diary entries. It features a simple and user-friendly interface for managing personal notes, thoughts, and daily activities.

Features

  • Add New Entries: Write and save new diary entries.
  • View Entries: Browse through past entries.
  • Edit Entries: Modify previously written diary entries.
  • Delete Entries: Remove any entry you no longer need.
  • Responsive Design: Works well on both desktop and mobile devices.

Technologies Used

  • Backend: ASP.NET Core
  • Frontend: HTML, CSS, JavaScript
  • Database: Entity Framework Core
  • Authentication: ASP.NET Identity (optional, if applicable)
  • Version Control: Git

Getting Started

Prerequisites

  • .NET SDK installed on your machine
  • A database engine like SQLite or SQL Server (depending on your configuration)

Installation

  1. Clone the repository:
    git clone https://github.com/Krapic/Diary.git
  2. Navigate to the project folder:
    cd Diary
  3. Install the necessary dependencies and restore the project:
    dotnet restore

Database Setup

Database

  1. Update the appsettings.json file with your database connection string. If you are using SQLite, it should look something like this:
    "ConnectionStrings": {
      "DefaultConnection": "Data Source=diary.db"
    }
  2. Apply database migrations:
    dotnet ef database update

Running the Application

To run the application locally, execute the following command:

dotnet run

The application will be accessible at https://localhost:7165 or http://localhost:5249.

Launch Terminal

Usage

  1. Start writing your diary entries using the provided text editor.
  2. View your entries in a list or edit them as needed.

Diary Index Page Create Diary Entry Edit Diary Entry Delete Diary Entry

Contributing

Contributions are welcome! If you have ideas for new features or improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Acknowledgements

  • ASP.NET Core for the backend framework
  • Entity Framework Core for the ORM
  • Bootstrap for the frontend framework

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published