Skip to content

Commit

Permalink
ar(server) strip
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloreale committed May 11, 2024
1 parent 1b11a3a commit 3846f97
Show file tree
Hide file tree
Showing 60 changed files with 7 additions and 1,776 deletions.
119 changes: 7 additions & 112 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,118 +1,13 @@
License: © Purizu di Angelo Reale
# Hypnos - DreamPip's Edge Micro-Services Hub
License: HPL3-ECO-AND-ANC

Authors: varsnothing aka Angelo Reale

I'm still looking for a job https://angeloreale.com/plexus.

Why Libs:

react

```
react is an industry standard, that leverages a virtual dom to simulate user and server interactions, commiting those changes to the actual dom in the form of rendering abstractions, where nodes get hydrated with the latest state of an application
```

react/context-api

```
flux pattern is a great way to make sure any application running keeps a solid and reliable history of the actions taken by the user/server. i've tried to mimic this pattern, mostly used from tools like redux, using solely the context api, thus, breaking the state into different, isolated context/providers, and creating/enforcing a flux workflow to prevent state mismatches and unnecessary re-renders.
```

nextjs

```
it's a great and simple framework for creating csr/ssr/ssg/isr applications, with a syntax pragma that works really well with Vercel. a great tool i use for infrastructure at low/zero cost.
```

nextauth

```
it's the standard tool for simplifying auth flows in next.js
```

typescript

```
it helps with little bugs that may creep into a fast evolving app
```

mongo

```
flexible, easy to use with javascript, although with my implementation i've enforced a schema in a mongoose-esque way, to ensure there are less of the aforementioned TypeError bugs.
```

nodemailer

```
just a tool to send emails via node, useful for our passworldless login.
```

clsx

```
the tinies lib for adding business logic to css without any bootstrap, js-in-css or other jsx pragmas/css tools/preprocessors. i've used css modules for treeshaking and reducing bundle size.
```

prettier

```
nice to keep the code clean and consistent when it comes to syntax
```

eslint

```
good to catch multiple types of dark patterns.
```

mui/base

```
we want to save time, but have design and css bundling freedom.
```

socket.io

```
who doesn't like dialogues better than monologues?
initially using this for server transactional messages
and a chat feature.
```

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
What: Headless Next.js Edge Runtime

## Getting Started

First, run the development server:

```bash
```
nvm use v20
npm ci
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
Documentation: TBD
28 changes: 0 additions & 28 deletions lib/actions/auth-actions.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions lib/actions/client/README.md

This file was deleted.

51 changes: 0 additions & 51 deletions lib/actions/rm-actions.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions lib/actions/server/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions lib/view/README.md

This file was deleted.

34 changes: 0 additions & 34 deletions lib/view/nsx/adapters/clsx-adapter.ts

This file was deleted.

2 changes: 0 additions & 2 deletions lib/view/nsx/adapters/index.ts

This file was deleted.

2 changes: 0 additions & 2 deletions lib/view/nsx/index.ts

This file was deleted.

58 changes: 0 additions & 58 deletions lib/view/nsx/nsx.ts

This file was deleted.

7 changes: 0 additions & 7 deletions src/app/components/client/index.ts

This file was deleted.

Loading

0 comments on commit 3846f97

Please sign in to comment.