Skip to content

lawrenzo-pro/fe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nunua

A simple, half baked nodejs backend

Prerequisites

install nodejs and ensure npm works
install mysql or mariadb as a database

Usage

create a database with a relevant name and create the tables users

this can be done with

create database logindb;
use logindb;
CREATE TABLE users( ID INT NOT NULL AUTO_INCREMENT, name VARCHAR(50) NOT NULL, email VARCHAR(50) NOT NULL, password VARCHAR(255) NOT NULL, PRIMARY KEY ( ID ) );

Make sure you edit index.js here to reflect the name of your database,table,database user and password

const db = mysql.createConnection({
    host:'localhost',
    user:'lawrence',
    password:'password',
    database:'logindb'
})

install dependencies and start your server

npm install
npm start

Contribution

Pull requests are welcomed. And you can report the issues on the issues page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published