Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhp24/run-js-web
JavaScript Playground! Code in TypeScript or JavaScript online, hassle-free. Experiment, debug, and share code easily. Dive into web development with confidence. Start coding now!
https://github.com/mhp24/run-js-web
docker javascript nodejs typescript
Last synced: 23 days ago
JSON representation
JavaScript Playground! Code in TypeScript or JavaScript online, hassle-free. Experiment, debug, and share code easily. Dive into web development with confidence. Start coding now!
- Host: GitHub
- URL: https://github.com/mhp24/run-js-web
- Owner: MHP24
- Created: 2024-02-02T01:00:22.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-11T21:38:35.000Z (9 months ago)
- Last Synced: 2024-05-11T22:30:12.042Z (9 months ago)
- Topics: docker, javascript, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 240 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Run js web
![]()
This is a Next.js version 14 project that requires [Node.js 18 or higher](https://nodejs.org/en). The project has two start scripts: __yarn start:dev__ to run in development mode and __yarn start:prod__ to run in production mode.
## Requirements
- Node.js 18 or higher.
## Commands
To run the project in development mode, use the following command:
```
yarn start:dev
```To run the project in production mode, use the following command:
```
yarn start:prod
```## Docker
The project includes a __docker-compose.stage.yml__ file
that you can use to run the project in a docker container.To start the project in a Docker environment, make sure you have [Docker installed](https://www.docker.com/) and run the following command:
```
docker-compose -f docker-compose.stage.yml up
```## Code running
This project connects to a web service at the following URL: [https://run-js-api.mg-hp.com](https://run-js-api.mg-hp.com). The code is executed via HTTP.