https://github.com/kralizek/todos
https://github.com/kralizek/todos
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kralizek/todos
- Owner: Kralizek
- Created: 2024-03-11T17:03:13.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-18T09:58:55.000Z (about 1 year ago)
- Last Synced: 2025-01-23T11:48:53.082Z (4 months ago)
- Language: C#
- Size: 49.8 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todos
This repository is a sample application built using ASP.NET Core 8 and React.
## Requirements
This repository requires the following software to be installed:
- [.NET SDK 8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
## Running the code
The code in this repository is composed by a backend application written using ASP.NET Core 8.0 and a frontend application written using React.
### Backend
To execute the backend, simply run the following command from a terminal in the root of the repository
```bash
$ dotnet run --project ./backend/API
```Alternatively,
If you want the application to restart automatically when the source code is changed, use
```bash
$ dotnet watch --project ./backend/API run
```The backend is configured to bind port 5182. Make sure the port is available.
Once the project is running you can navigate to [http://localhost:5182] to access the Swagger interface.
The backend project comes with a `API.http` file that shows an example of each valid request.
### Frontend
This repository requires the following software to be installed:
[.Node.js](https://nodejs.org/en/download)
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory (./client/), you can run following commands :
### `npm install`
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.The page will reload when you make changes.\
You may also see any lint errors in the console.