Giter Site home page Giter Site logo

todobackend's Introduction

This project contains codes for the NextJs Todo application available at this repo: https://github.com/cizu64/todoapp

Before you begin, ensure that you have Postgres sql installed on your local machine because this project currently uses postgres as the database. To install postgres visit https://www.postgresql.org/

installer: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

  1. Create the "Todo" database in postgres

  2. If you don't have DotNet SDK or Runtime installed, visit https://dotnet.microsoft.com/en-us/download/dotnet/8.0 and install the runtime. The runtime is only needed to run the application. You can also install the SDK if you are having difficulty installing the runtime because it does not provide an installer for mac users.

    Note: Make sure you install the runtime or sdk version 8.0

  3. Create the tables by applying ef migration:

 dotnet ef database update
  1. Navigate to the project root path in the terminal and run this command:
dotnet run -lp https 

You can also install vscode and the C# Dev kit extension to open the project and run directly from visual studio code.

Finally, open the swagger page for the API description

https://localhost:7233/swagger/index.html

todobackend's People

Contributors

cizu64 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.