LOCi security portal webapp.
- LOCi:
loci.goweki.com
.
- User Home:
/user
- User Devices:
/user/devices
- User Forum:
/user/forum
- User Blog:
/user/blog
- Authentication: [
/api/auth
] - authentication - Mailing: [
/api/mailer
] - emailing function using nodemailer - etc
- Next js 14: bootstrapped with
create-next-app
. - css:
Tailwind
v3. - Hosting:
Vercel
. - Mail:
nodemailer
. - Authentication:
Next.js Auth
.
-
Clone this repo in your local directory:
git clone https://github.com/goweki/loci.git
-
Populate the environment variables as detailed in the
.env.template
file. -
Navigate into the local repo and install dependencies:
npm i
-
To seed data, run the
scripts/seed.mjs
script:npm run seed
-
To run the development server, within the cloned repo:
npm run dev
Open http://localhost:3000 with your browser to see the result.
npm run build
- The output of the build process is stored in the
/.next
directory by default.
To start the server in production mode:
npm run start
- serves the previously built and optimized version of your application.
- Next js runs the server on port
3000
by default