Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antazo/js-play
Testing the different JS libraries and frameworks under a .NET environment.
https://github.com/antazo/js-play
Last synced: 29 days ago
JSON representation
Testing the different JS libraries and frameworks under a .NET environment.
- Host: GitHub
- URL: https://github.com/antazo/js-play
- Owner: antazo
- License: mit
- Created: 2024-11-15T12:14:05.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-16T12:58:36.000Z (about 1 month ago)
- Last Synced: 2024-11-16T13:35:35.748Z (about 1 month ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# js-play
Testing the different JS libraries and frameworks under a .NET environment.
For this project we are going to use:
* **BACKEND**: ASP.NET Core Web API
* **FRONTEND**: React.js## Installation
Clone (or fork) this repository:
```powershell
git clone https://github.com/antazo/js-play
cd js-play
```Run the backend and the frontend in different terminals:
* **BACKEND**:
```powershell
cd backend
dotnet run
```Try it:
* **FRONTEND**:
```powershell
cd ../frontend
npm start
```Try it:
## Documentation
Follow these steps to create the project **js-play** from the scratch.
Create the **backend** with a new ASP.NET Core Web API project:
```powershell
dotnet new webapi -n backend
```For the **frontend**, make sure that you have Node.js installed, it is needed for the `npm` (Node Package Manager). Then, proceed by creating the React app:
```powershell
npx create-react-app frontend
```>The package "babel-preset-react-app" is not maintained anymore, and the plugin "@babel/plugin-proposal-private-property-in-object" was merge to ECMAScript.
>
>To avoid the warning messages when starting `npm`, add `@babel/plugin-transform-private-property-in-object` to devDependencies to work around this error.
>
>Check if it is present in your **package.json**, then just `npm install`. Or do this:
>
>```powershell
>npm install --save-dev @babel/plugin-transform-private-property-in-object
>```