https://github.com/vanbui1995/shouts-posting-app
https://github.com/vanbui1995/shouts-posting-app
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vanbui1995/shouts-posting-app
- Owner: vanbui1995
- Created: 2023-09-26T16:16:48.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2023-09-26T16:35:39.000Z (over 2 years ago)
- Last Synced: 2025-02-28T13:21:42.712Z (over 1 year ago)
- Language: TypeScript
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# "Shouts" Posting Application
A very simple app is written by MeteorJS + React + Tailwind to prove that MeteorJS is still working with the newest frontend techs and is simple to build a real-time application
Demo link: https://chat-app-2023-vanbui.au.meteorapp.com

### How to run it locally
1. Make sure you are on NodeJS version 14 (recommended by MeteorJS)
2. Install meteor
```
npm install meteor -g
```
3. Install dependencies & start locally
```
meteor npm install
meteor
```
4. Run unit test
```
meteor npm run test
```
### Feature
- Loggin, Loggout, Register Account
- Add/Edit/Delete shoute
### Seeding User account
- I prepared 3 accounts in the database seeding, you can use existing accounts or create new one:
- user1/123456
- user2/123456
- user3/123456
### Unit test
- I prepared unit tests on server/tests/*
- How to get report result:
Run unit test
```
meteor npm run test
```
Current result:

### Folder structure
.
src
├── ...
└── server/main.tsx # Backend entry point file (Root)
└── server/tests/* # Unit test files
├── imports # Contain all main pages, the root component of each page
│ ├── ui/* # All frontend source code
│ ├── api/collections/* # Define all collection schema
│ ├── api/methods/* # Define all Meteor methodss (APIs)
│ └── api/publications/* # Define all Meteor publications (backend realtime)
└── tailwind.config.cjs # Tailwind config, I configured all colors/spacing of the guideline via this file