Git Product home page Git Product logo

diary-app-core's Introduction

Diary App

A User Diary App made with ASP.NET Core and React.

Backend

Prerequisite:

  1. ASP.Net Core 5.0
  • You can download it within Visual Studio 2019 by accessing Visal Studio Installer which you can download and install from https://visualstudio.microsoft.com/downloads/
  • After installation run Visual Studio Installer, click install and from the options make sure ASP.NET and web development is selected. From there intall it by following the setup instructions.
  1. Microsoft SQL Express 2018

Development Tools:

  1. Visual Studio 2019
  1. Microsoft SQL Server Management Studio 18.

Process for running development environment:

  1. Open the solution of the backend (.sln file) in Visual Studio 2019 IDE.
  • Wait for some time to let visual studio to download the required packages automatically.
  1. Head on to appsettings.json in solution explorer and put your respective server name in the connection string inside Server = ; area below. You can generally find it Microsoft SQL Server Management Studio 18 during connecting to a server.
  "ConnectionStrings": {
    "DefaultConnection": "Server=.\\SQLEXPRESS;Database=DiaryDbDebashish;Trusted_Connection=True;MultipleActiveResultSets=True"
  },
  1. Run the code using ctrl+F5 or clicking IIS EXPRESS run button.
  2. Database should be created automatically but if not created then go to Tools->NuGet Package Manager ->Package Manager Console and after the console opens, run the command update-database. This will create the database in your MS SQL server.
  3. The server will start on the url https://localhost:44352 in browser with Swagger UI

Frontend

Prerequisite:

  1. Node JS
  • To install node js go to https://nodejs.org/en/. The recommended version will do.
  • To check if node js is installed or not, open terminal and type node โ€“v which will give the version installed in the system.

Development Tools:

  1. Visual Studio Code
  1. Command Prompt
  • Open desired folder and open command promt by typing in cmd and press Enter in the address bar of explorer

Process for running development environment:

  1. After installing the prerequisite go to the project folder frontend and access command prompt from there.
  2. Use the command npm install to install all the packages required.
  3. To run the project type the command npm start .
  4. The server will then be started and can be accessed by the url http://localhost:3000

diary-app-core's People

Contributors

deba1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.