The privacy focused news app made for ibm cloud
This live version of the app can be found in theprint.me
- News at your finger tips
- Sleek UI
- Light weight app
- Bookmark your news and get back to it later
- Automagic regional news
- Select news based on topic
- Change language any time
- Framework - Next js
- CSS framework - Tailwind CSS
- UI Library - Daisy UI
- Backend Framework - Flask
- Database - IBM DB2
- Docker - Docker
- Auth - Next Auth
- Container Registery- IBM Container Registery
- Container Orchestration - kubernetes
- Type safety - Typescript
βββ backend
β βββ Dockerfile
β βββ kubernetes
β β βββ config.yaml
β βββ requirements.txt
β βββ server.py
β βββ wsgi.py
βββ components
β βββ bottomNav.tsx
βββ pages
β βββ api
β β βββ auth
β β β βββ [...nextauth].js
β β βββ headlines.ts
β β βββ next.ts
β β βββ proxy.ts
β βββ _app.tsx
β βββ bookmarks.tsx
β βββ index.tsx
βββ styles
βββ globals.css
backend
- Consists of the flask serverbackend/kubernetes
- Kubernetes config file (Deployment, Service ,Ingress)components
- Components for the frontendpages
- File based routingpages/api
- The api route for the frontend (headlines, next - pagination, proxy - for the server)pages/auth
- The route used for authenticationstyles
- The global styles for the app
- Install node js - Node js
- Add necessary values in the env - Sample env
- To install dependency -
npm install
To run the developmen server:
npm run dev
# or
yarn dev
- Install python - Python Installation
- Install dependency -
python -m pip install -r requirements.txt
- To run the app -
python server.py
Licensed under the GNU General Public License v2.0