Broadcast news at ease
- nodejs 16+
- npm 8+
To create a new post:-
- step 1: Open
newsfolder.-
step 2: Create a file named
<you-post-name>.txt -
step 3: Enter Post Content is following format :-
Date('Dec 11 2023 06:29:27')@ Stay Tuned for more Updates- Replace date, with post date
- Make sure
@is present - Start writing context after
@
-
step 4: Save you file.
-
read:- Read all posts on Serveredit:- Edit a post of ServerSyntax- edit $post_name $post_contentExample- edit a.txt Date('Dec 11 2023 06:29:27')@ Your Post Content goes here
- Clone the Repo
- Start with
npm run start
- Run
docker build -t news_app . - Run
docker run -v ./news:/app/news -p 3000:3000 news_app