Skip to content

Full stack application built with ReactJs and .Net 5 Web API.

Notifications You must be signed in to change notification settings

hashimkhanzada/InterCityClone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 

Repository files navigation

InterCityClone

A solo project built with ReactJs and .Net 5 Web API. This web application imitates the design and main features of the intercity website.

Demo available at

https://www.hashimkhanzada.com/

Setup (Windows)

Pre-requisites

.NET 5.0 SDK - comes out of the box with the latest visual studio

Node v14.*

NPM

Steps

  • Clone the repo
  • Open the repo folder with the command prompt
  • Download dependencies for the client:
cd intercity-react-client
InterCityClone-master\intercity-react-client> npm install

Database setup

The database configuration for local sql has already been set up. The only thing needed is to run update-database in the package manager console.

Change base URL to localhost

Connect the client to the local server by navigating to

intercity-react-client\src\api\axios.js

Change the baseURL on line 3 to https://localhost:44366/api/

Run client:

intercity-react-client> npm start

Run server (Visual Studio)

Run using IIS Express

image

This will open up Swagger UI (open API), and your client will be able to make requests successfully.

About

Full stack application built with ReactJs and .Net 5 Web API.

Resources

Stars

Watchers

Forks